ParallelGraphics Forums
Cortona Renderer
You are here: [Forums]::[Browsers]::[Cortona VRML Client]::[Cortona Renderer]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   Browsers - Cortona VRML Client - Cortona Renderer

Subject: Re: Memory leak in Cortona?
Sender: daniel.thall@ceco.se 17.01.06 05:01


When "remowing"(nodeCollection.Remove()) nodes in 3D-scen memory doesn´t get released?
Maybe the removeChildren event doesn't necessarily kill the instances of nodes.
Your javascript must also kill the reference to the MFNode you sent to the eventIn.
I do this by having a dummy MFNode script field which I then assign to the MFNode variable I used.
Hopefully the javascript garbage collector will then, at some point, release the memory.

I'd like to know if this works.

Steve Smith

Thanks for your solution!
I´m not developing with Scripting.. I´m using VS C++... but I understand the meaning of your solution...
I´ll test it and get back to you.

Best regards
Daniel

 


Memory leak in Cortona? / daniel.thall@ceco.se / 2.01.06 09:57
     Re: Memory leak in Cortona? / steve@geostudio3d.co.uk / 10.01.06 06:15
         Re: Memory leak in Cortona? / daniel.thall@ceco.se / 17.01.06 05:01

Messages in thread: 3


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.