ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
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
[reply]
[back to forum]
[new message]
[all forums]
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
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2009
ParallelGraphics
. All rights reserved.
Terms of use
.