All Forums
 Microsoft Windows CE
 eVC Application Development
 malloc fails with large block requests
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  13:10:00  Show Profile  Email Poster
Q: When I perform a malloc() for a large amount of memory, sometimes it fails even though the system appears to have enough memory to perform the operation. What's wrong?

The Windows CE memory manager may not be able to allocate large blocks of memory due to memory fragmentation. Try allocating smaller blocks of memory where possible.



------------------
ADS Knowledge Base
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000