Quote:
Originally Posted by buzzybee
Well... I do most memory allocation like that, and de-alloc / re-alloc one memory chunk only when switching between stages. Should not cause too much fragmentation.
|
Better idea is to figure out how much chipmem you need to allocate in total for a stage and allocate as one block that will take care of lots of smaller allocations.
Will likely fix your memory issues.