make sure you don't try to free same chunk more then once storage memory or dbcache have no effect on MemPtrNew and MemHandleNew, so nand is definitely no problem
i think you should check if all allocations were succesfull, maybe application which is running is eating so much memory that your application can't allocate all it needs and fails because of that? also vheck not only free memory but also biggest free block, memory can be fragmented.... Darren wrote: > Hello, > am trying to allocate a simple small chunk (2048 bytes)on the dynamic heap > using these two calls. > The application is a 'DAcc' desk accessory, primarily for use on a TX (NAND?) > and a TG50. > > Keeps resetting ???? sometimes when the desk accessory is initially invoked, > sometimes when the desk accesory is going through 'cleanup' (MemHandleFree, > MemPtrFree, etc.), sometimes after two or three invocations. > > The malloc is for a simple list, that remains in memory during the lifetime > of the application. > > Have had some luck with FtrPtrNew, but am still getting resets if the > allocation is freed using FtrPtrFree. > > Have trawled through some of the posts here, and now a possible explanation > is that the nand nvfs, is the issue. > > > The questions are. > Is it possible to use Memory Manager (dynamic heap) or Data Manager(storage > heap) calls to allocate a small, preferably locked chunk, on a TX? > If so then how please ? > > many thanks and much regards > > Darren > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
