I've noticed in the last few months that my database takes a long time to open (and by a long time, I mean 4+ minutes). I don't use it on my phone very often, so I can't be more specific than that. My database is about 2.5mb and has ~670 entries in it, several with attachments. The problem looks to be in the ReadXmlStreamed call - the app screen only stays on transforming master key for a second or less but then pauses on "Parsing Database" for minutes.
I'm running CM12 (Lollipop) nightlies on a OnePlus One, if that makes a difference. Is there anything I can look at further to figure out why this takes so long?
Here's an app log:
2/10/2015 6:00:32 AM:562 -- Creating application keepass2android.keepass2android. Version=52
2/10/2015 6:00:32 AM:631 -- KeePass.OnCreate
2/10/2015 6:00:32 AM:637 -- KeePass:apptask=
2/10/2015 6:00:32 AM:655 -- Loaded task keepass2android.NullTask
2/10/2015 6:00:32 AM:656 -- KeePass.OnCreate
2/10/2015 6:00:32 AM:659 -- KeePass.OnStart
2/10/2015 6:00:32 AM:660 -- KeePass.OnStart
2/10/2015 6:00:32 AM:728 -- PasswordActivity.OnCreate
2/10/2015 6:00:32 AM:729 -- PasswordActivity:apptask=
2/10/2015 6:00:32 AM:734 -- Loaded task keepass2android.NullTask
2/10/2015 6:00:32 AM:960 -- PasswordActivity.OnStart
2/10/2015 6:00:32 AM:970 -- PasswordActivity.OnResume
2/10/2015 6:00:32 AM:971 -- DatabaseIsUnlocked=False
2/10/2015 6:00:33 AM:23 -- Pre-loading database file starting
2/10/2015 6:00:33 AM:55 -- Pre-loading database file completed
2/10/2015 6:00:33 AM:242 -- KeePass.OnStop
2/10/2015 6:00:33 AM:243 -- KeePass.OnDestroyTrue
2/10/2015 6:00:33 AM:244 -- KeePass.OnDestroyTrue
2/10/2015 6:00:43 AM:155 -- PasswordActivity.OnActivityResult 874348/1000
2/10/2015 6:00:43 AM:157 -- No AppTask in OnActivityResult
2/10/2015 6:00:44 AM:311 -- Native transform:768ms
2/10/2015 6:02:43 AM:949 -- PasswordActivity.OnPause
2/10/2015 6:02:44 AM:48 -- PasswordActivity.OnStop
2/10/2015 6:03:48 AM:107 -- PasswordActivity.OnStart
2/10/2015 6:03:48 AM:136 -- PasswordActivity.OnResume
2/10/2015 6:03:48 AM:136 -- DatabaseIsUnlocked=False
2/10/2015 6:04:48 AM:719 -- ReadXmlStreamed: 244346ms
2/10/2015 6:04:48 AM:895 -- Starting/Updating OngoingNotificationsService. Database Unlocked
2/10/2015 6:04:48 AM:976 -- LoadDB OK
2/10/2015 6:04:49 AM:267 -- PasswordActivity.OnPause
2/10/2015 6:04:49 AM:286 -- Timeout start
2/10/2015 6:04:49 AM:328 -- GroupActivity.OnCreate
2/10/2015 6:04:49 AM:336 -- Loaded task keepass2android.NullTask
2/10/2015 6:04:49 AM:484 -- GroupActivity.OnStart
2/10/2015 6:04:49 AM:491 -- Timeout cancel
2/10/2015 6:04:49 AM:547 -- GroupActivity.OnResume
2/10/2015 6:04:50 AM:371 -- PasswordActivity.OnStop
Comments: Same problem for me. Loading Database from WebDAV was used to be done in Background in a few seconds, but now it needs some Minutes without visual progress, and if i switch off the Mobile Internet, i get two Messages
- Database corrupt
- File could not be loaded, using cached
Please speed this up, again.
Thanks!