Home » U++ Library support » U++ Core » Out of memory panic
Out of memory panic [message #36264] |
Thu, 17 May 2012 12:38 |
|
koldo
Messages: 3358 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
Although U++ doc. clearly says that: "...We decided to ignore possibility of "out-of-memory" exceptions and recovery...", I would ask to do something .
A possible proposal could be that OutOfMemoryPanic() function could be an user defined function. The user could decide to, for example:
- Show an out of memory message
- Free some memory kept to give breath to the program in this situation
- Save critical data if something goes wrong
- Throw an exception for the main program to handle this gracefully
Now the program just aborts without any possibility of save data processed.
Best regards
IƱaki
[Updated on: Thu, 17 May 2012 12:41] Report message to a moderator
|
|
|
|
|
Out of memory panic
By: koldo on Thu, 17 May 2012 12:38
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: Tom1 on Sat, 19 May 2012 20:36
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: Tom1 on Sat, 19 May 2012 22:28
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: koldo on Sun, 20 May 2012 16:38
|
|
|
Re: Out of memory panic
By: mirek on Sun, 20 May 2012 17:13
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: koldo on Sun, 20 May 2012 20:15
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: koldo on Sun, 20 May 2012 20:52
|
|
|
Re: Out of memory panic
By: mirek on Mon, 21 May 2012 13:35
|
|
|
Re: Out of memory panic
|
|
|
Re: Out of memory panic
By: mirek on Tue, 22 May 2012 13:11
|
|
|
Re: Out of memory panic
By: mirek on Sun, 20 May 2012 17:11
|
Goto Forum:
Current Time: Mon Apr 29 18:48:21 CEST 2024
Total time taken to generate the page: 0.02870 seconds
|