U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Out of memory panic
Re: Out of memory panic [message #36359 is a reply to message #36341] Tue, 22 May 2012 13:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
mdelfede wrote on Mon, 21 May 2012 07:39

mirek wrote on Mon, 21 May 2012 13:35


Well, this has the problem that you do not really know how much memory is really available...



Of course... but if you've the problem of running out of address space, you can "fix" a reasonable limit and alert user when it's reached.... better than nothing Smile
A perfect solution don't exist, I'm afraid.

Max



Well, but perhaps you do not need anything really new - you can get memory allocated by MemoryUsedKb, then add some test before big operation... I it is as good as you can go...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ...nize class
Next Topic: Value: String to int - problem or feature?
Goto Forum:
  


Current Time: Sat May 30 06:34:11 GMT+2 2026

Total time taken to generate the page: 0.00631 seconds