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 #35233 is a reply to message #35223] Tue, 24 January 2012 10:00 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
cbpporter wrote on Mon, 23 January 2012 21:22


....
And I am using some DLLs. Should I use the USE_MALLOC flag?



That's almost for sure the problem.
I'm using OCE library which does custom allocation and has *many* allocation bugs that clashes completely with Upp custom allocators.

If your DLL allocates something and you deallocate it in Upp, or the way around, you'll have problems for sure.
You'll have problems anyways if your DLL uses custom allocation different from malloc()/free()... the right approach would be to *not* manage the same memory on both sides, which is quite difficult sometimes.

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TextSettings update
Next Topic: Json serialization support
Goto Forum:
  


Current Time: Wed Jul 01 08:18:53 GMT+2 2026

Total time taken to generate the page: 0.00708 seconds