Mendeley import slow, then crashes [ID 1924261837]
I have been trying to import from a Mendeley 1.18 database. The import is quite slow (< 200 entries / hour) and crashes after a while.
Previous attempts had been equally slow, but simply got stuck without error message. They got stuck at different numbers of entries. Sync is not enabled.
Error message:
[JavaScript Error: "C:\Program Files (x86)\Zotero\pdftotext.exe returned exit status 1" {file: "chrome://zotero/content/xpcom/utilities_internal.js" line: 771}]
[JavaScript Error: "NS_ERROR_FAILURE: Failure arg 0 [mozIStorageResultSet.getNextRow]" {file: "resource://gre/modules/Sqlite.jsm" line: 768}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncStatement.executeAsync]" {file: "resource://gre/modules/Sqlite.jsm" line: 764}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncStatement.executeAsync]" {file: "resource://gre/modules/Sqlite.jsm" line: 764}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 506}]
version => 5.0.97-beta.10+3536a384a, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.97-beta.10+3536a384a, extensions => Zotero LibreOffice Integration (5.0.24.SA.5.0.97-beta.10+3536a384a, extension), Zotero Word for Windows Integration (5.0.17.SA.5.0.97-beta.10+3536a384a, extension)
Previous attempts had been equally slow, but simply got stuck without error message. They got stuck at different numbers of entries. Sync is not enabled.
Error message:
[JavaScript Error: "C:\Program Files (x86)\Zotero\pdftotext.exe returned exit status 1" {file: "chrome://zotero/content/xpcom/utilities_internal.js" line: 771}]
[JavaScript Error: "NS_ERROR_FAILURE: Failure arg 0 [mozIStorageResultSet.getNextRow]" {file: "resource://gre/modules/Sqlite.jsm" line: 768}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncStatement.executeAsync]" {file: "resource://gre/modules/Sqlite.jsm" line: 764}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncStatement.executeAsync]" {file: "resource://gre/modules/Sqlite.jsm" line: 764}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 506}]
version => 5.0.97-beta.10+3536a384a, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.97-beta.10+3536a384a, extensions => Zotero LibreOffice Integration (5.0.24.SA.5.0.97-beta.10+3536a384a, extension), Zotero Word for Windows Integration (5.0.17.SA.5.0.97-beta.10+3536a384a, extension)
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
Can you check Zotero's memory usage in Task Manager during the import? Where does it start before the import begins and how does it change over the course of the import?
I re-ran the import procedures with task manager open (after deleting the database). This time, the crash occurred without error message.
Memory usage was 152.9MB at baseline, then fluctuated between 1 and 1.5GB increasing to 2-2.5GB (and increasingly higher CPU usage). At this point, the task manager intermittently indicated that Zotero was not responding. Finally, the program crashed after importing ~250 items over about an hour.
The import also progresses haltingly, i.e., will get stuck at an item for a few minutes, then add several within seconds.