Hi,
I am faced to a memory issue with my book cointaining 3D panoramas. (
www.regionalesbretagneenimages.fr)
With my project book, around 100 double pages, without panoramas, i stay around 90Mo when i read all the book, the memory management in Megazine works well, it destroy the page not visible after 1 or two page turn.
But when i simply add just one panorama for debugging, whaaaooo.
I start at 90Mo, and when i watch the panorama page, i jump to 145Mo, ok, understandable.
I have modify my panorama Loader to destroy all the objects referencing to the panorama, when i jump to the next page, but i stay after around 140Mo, and around this value if i finish the book with all simple pages.
So for me, the best solution is to destroy all the elements on the megazine page.
I have checked that object PageSide have a special function unload, which can be force to true, unload(true), but at the end of it, it reload the elements of the page, so i have use a duplication of this command, unloadSimple which doesn't reload the page, but the elements in memory are already here.
So, did the garbage collector works well with this method?
Thanks