Hi,
we have a problem with the VRAM usage and the Destroy command.
In our project we load many textures thru the WWW class, inside the main stage and inside external loaded assets. We also destroy them when they are not needed anymore.
We have installed the script DetectLeaks to see how the system free up the memory because we have seen a constant degradation of the performance during the navigation of the “mall” specially in windows machines with a low amount of memory.
You can try our project here:
http://3d.virtuy.com (you can also enter as guest to try)
press SHIFT-L to show the DetectLeaks info panel
Now, if you enter in one of the shops you can see the textures and meshes count growing up. Exit from the shop and (if you don’t look at it) it will close after 10 seconds (and the destroy hyerarchy script will fire up).
You can see the meshes count going down, but the texture count remain the same.
If you enter and exit from multiple shops you will see the required amount of ram growing up continuosly (you can check thru the system task manager or activity monitor on the mac).
Because we are developing many projects with the same logic (all business and not gaming oriented), we need to discover where is our problem.
Let me know if you have ideas to solve this…
thanks.
Francesco
eSimple CEO