Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1307
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 May 15 07:38:05 CEST 2024

Total time taken to generate the page: 0.01829 seconds