hello PalmOS 3.5, Handspring Visor Platinum my question is about max. size of allocated block. My routine looks like this: MemHeapFreeBytes(0,&x1,&x2); x3=x1; x4=x2; //only test, this shows nearly 60kb free heap and 50kb max free block ok=SelectDay(selectDayByDay,&(xxl.month), &(xxl.day),&(xxl.year),"Dátum"); b if(ok==false) break; MemHeapFreeBytes(0,&x1,&x2); // strange thing happened, now we have same amount of free heap as before, but max. block is nearly smaller then 32kb It looks heap is changed becuse of SelectDay function... I don't know how to make max. free block bigger (MemHeapCompact doesn't help). It is a serious problem for me,because I have to allocate a bit more then 32kb later in program and it fails sometimes, i guess it is because of this:-( Of course I can rewrite my program to allocate less memory, or make something like swapping, but it would make all thing more complicated and of course it doesn't answer the question WHY. please let me know if you have some ideas. thnx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
