> It's even worse on the PocketPC. If you ask for ram there's no > room for, rather than returning NULL, the O/S goes away to compact > memory, fails every time, and locks up your machine. This is real > handy given the often very tight restrictions on memory we're already > used to. > > I solved it by writing my own memory allocator working from one big > chunk allocated by the O/S at program startup. It's actually very > simple once you get your head around it and will solve a lot of > headaches like this. > > Would this be a feasible fix ?
unfortunately, not :) most of the crashes are with bringing up forms/dialogs :( very fun. i try to keep my dynamic memory usage to around 32K - use different techniques to get higher than that; works for me. --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
