We have a program that loads and parses 3 plist files.
However, we are gettng memory errors for certain plist files.
We have attached our sample program.
Sample program explanation:
In BBB.cpp, we are loading three plist’s 20.plist, 30.plist, 45.plist
20.plist loads 20 images, 30.plist load 30 images and so forth.
20.plist and 30.plist works fine. However, when loading/parsing 45.plist we get a memory error.
We would like to know if there is a limit or if this is an engine bug.
Lastly, in the icf file, we set the MemFlags0=USE_STACK_ALLOCATOR option. When doing so, the loading works fine but there is a memory leak. If we don’t have this option then the loading/parsing doesn’t work correctly for 45.plist.
We have attached the sample program below. If you can please take a look and give us some insight into this problem, we’d greatly appreciate it. Thank you.