Suggest better error message when unable to allocate memory

Post Reply
quinten
Posts: 1021
Joined: Tue Mar 03, 2015 8:13 am

Suggest better error message when unable to allocate memory

Post by quinten »

Note: The following message was originally posted at the old ACOLITE board.

At IOCCG Summer School, most of the memory allocation problems seemed to be solved with respect to beta versions. However, I did see one on a 4GB RAM Windows machine. The solution was to check Task Manager to see what other processes were taking memory and then close them down.

To help users, I suggest a more informative text error message like:
"Unable to allocate memory. Suggest that you:
- Check Task Manager and close down unnecessary processes such as Internet browsers and Explorer windows
- Reduce size of crop region from X to Y"

If it is possible to estimate memory needed at run-time that might be helpful too.

Kevin
Post Reply