ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
3D Page Of the Week
email:  password:
   General - SDK

Subject: Memory release
Sender: dan.vera@gmail.com 23.09.09 08:14

Hi,

I have a memory problem using SDK and VB.Net 2008:

I made a project in which there is only a cortona control and one button on a form.

Case1 1:
When I load the scene with a wrl file containing a large/complex geometry and if I use

my_Cortona.Engine.RootNodes.Remove(a_def_id)

to delete the node that contains the geometry, memory is released.


Case2: if I put the geometry in a proto, which I instantiate and load using:

Dim a_nod As VRMLAutomation.VRMLNode = my_cortona.Engine.Protos.Item("test_proto").CreateInstance()
a_nod.Name = "test"
my_Cortona.Engine.RootNodes.Add(a_nod)

Fisrt, the amount of memory occupied is two time the amount used in case 1.
Second, if I use my_Cortona.Engine.RootNodes.Remove("test")
the memory is not released.

I'd be curious to know if this is a bug, or if I am doing something wrong.

Help/support really appreciated, regards

Dan

 


Memory release / dan.vera@gmail.com / 23.09.09 08:14
     Re: Memory release / dan.vera@gmail.com / 3.11.09 10:35

Messages in thread: 2


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