View Single Post
  #9  
Old 11-04-2009, 09:21 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Quote:
Originally Posted by andguent View Post
mhm. the bounce message arrived here in the middle of the night so i missed it until now. sorry. i have resent it via the upload form
Thanks, I got the files.

I ran your script and noticed increasing memory usage as well. I believe the problem is that the script is adding textures but never deleting them. It looks like you are adding a new texture for each model that is loaded, so the number of textures will quickly build up. Your script is already removing the node objects, so you just need to modify it to remove the texture objects as well. This should drastically reduce the memory usage of your script.
Reply With Quote