I have two files, 1,724,600,320 bytes each. I tried to compare them, but by accident "Files Type" was set to Text. Probably because of that, I got this error:
Insufficient memory to allocate 1724600321 bytes. Try to release some memory (e.g. close some running application) and click Retry. Click Cancel to terminate this application (it may result in data loss).
Retry Cancel
I think the error is perfectly legitimate, considering the size of the files and the fact that the comparison is done in memory. But after I clicked Cancel, I got:
Do you really want to terminate this application?
WARNING: All unsaved data will be lost!
No matter what I tried, the only way out was to choose Yes here, so I lost my Salamander instance. Maybe this can be prevented easily?
Crash after "Insufficient memory"
Crash after "Insufficient memory"
Groente, Michel.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Crash after "Insufficient memory"
This problem is solved in prepared version 2.52 beta 2. We have added third button (Ignore) to allow user to pass allocation error to application (allocator returns NULL, application should solve this error state).
Re: Crash after "Insufficient memory"
Confirmed! It works well with (for example) the File Comparator plugin.Petr Solin wrote:This problem is solved in prepared version 2.52 beta 2. We have added third button (Ignore) to allow user to pass allocation error to application (allocator returns NULL, application should solve this error state).