Re: [JAVA3D] Memory problem

2005-06-10 Thread Hrvoje Smolic
Please respond to Discussion list for Java 3D API JAVA3D-INTEREST@JAVA.SUN.COM To JAVA3D-INTEREST@JAVA.SUN.COM cc Subject [JAVA3D] Memory problem Hello all, I have loaded about 180 vrml object ( .wrl format ).When I load the textures I get the OutOfMemoryException, but without texture

Re: [JAVA3D] Memory problem

2005-06-10 Thread Saeed Ansari
YourClass Saeed Ansari [EMAIL PROTECTED] Sent by: Discussion list for Java 3D API JAVA3D-INTEREST@JAVA.SUN.COM 09.06.2005 19:13 Please respond toDiscussion list for Java 3D API JAVA3D-INTEREST@JAVA.SUN.COM To JAVA3D-INTEREST@JAVA.SUN.COM cc Subject [JAVA3D] Memory problem Hello all, I

Re: [JAVA3D] Memory problem

2005-06-10 Thread Richard Smith
An OutOfMemory occurs when the heap has been expanded to the maximum permitted and a GC was unable to free up enough space. I suggest in the first instance observing the results of each GC. Options like -verbose:gc or -Xloggc:file give some basic information, but a more detailed understanding

[JAVA3D] Memory problem

2005-06-09 Thread Saeed Ansari
Hello all, I have loaded about 180 vrml object ( .wrl format).When I load the textures I get the OutOfMemoryException, but without texture it works well.Each object has a 3KB texture. My RAM is 1.0 GB . What should I do to remove memory this problem ? Regards, Saeed Discover

Re: [JAVA3D] Memory problem

2005-06-09 Thread Laurent Gilson
Hello I have loaded about 180 vrml object ( .wrl format ).When I load the textures I get the OutOfMemoryException, but without texture it works well.Each object has a 3KB texture. My RAM is 1.0 GB . java limits itself to 64 (32 ?) MB RAM (depends on the version, 1.5 has a flexible limit ...)

Re: [JAVA3D] Memory problem

2005-06-09 Thread Saeed Ansari
Hello , I am working with IntellijIDEA, and I increased the heap size to 512MB. So now it works for 180 objects but not for 200 objects!!! And another question: Is it possible to load a vrml object and then clone this object.I have added below my source where I load objects : BranchGroupbg=new

[JAVA3D] memory problem with removing BranchGraphs

2003-06-03 Thread Kuba Mahdal
Hi,i have a problem with removing Branch graphs from scene. I use SimpleUniverse and have one Branch graph in the scene.I want it dynamically replaced by other one.After i do it, memory from the first is still usedand when i do it many times i received "java.lang.outOfMemory"exception.

Re: [JAVA3D] Memory Problem

2003-04-02 Thread JOSEPH ROSS JEYNES
I want to be un-subscribed - Original Message - From: hterrolle To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:30 PM Subject: Re: [JAVA3D] Memory Problem Hi Issac, I develop an application. And i just find out that it take a lot of place. I

Re: [JAVA3D] Memory Problem

2003-03-30 Thread hterrolle
-De : Isaac Brobbey [EMAIL PROTECTED]À : [EMAIL PROTECTED] [EMAIL PROTECTED]Date: dimanche 30 mars 2003 04:04Objet : [JAVA3D] Memory Problem Hi Hrotelle, Unreferenced Objects are Garbage Collected Automatically Memory is freed for Later Reuse Garbage

Re: [JAVA3D] Memory Problem

2003-03-30 Thread Isaac Brobbey
Hi Hrotelle, I experienced improved memory management when running applets/servlets with incremental garbage collection: -Xincgc you can actually see that memory is released back to the system from time to time it may be worthwhile to call System.runFinalization();

Re: [JAVA3D] Memory Problem

2003-03-30 Thread Brad Christiansen
Hi, In short, changing your import statemnts will have no effect on the amount of memory used or the speed of your application. Cheers, Brad This Email may contain confidential and/or privileged information and is

Re: [JAVA3D] Memory Problem

2003-03-30 Thread Anirban Bhadore
jvm 1.3.1 on windows. In my application I am able to release memory from around 350MB to around 10 MB ! Any comments? thanks anirban - Original Message - From: Isaac Brobbey To: [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 7:34 AM Subject: Re: [JAVA3D] Memory

[JAVA3D] AW: [JAVA3D] Memory Problem

2003-03-30 Thread Florin Herinean
. Cheers, Florin -Ursprüngliche Nachricht-Von: hterrolle [mailto:[EMAIL PROTECTED]Gesendet: Sonntag, 30. März 2003 13:59An: [EMAIL PROTECTED]Betreff: Re: [JAVA3D] Memory Problem hi saaci, all right. I just ask one question. can i improve my application by importing only

Re: [JAVA3D] Memory Problem

2003-03-30 Thread hterrolle
HI Anirban, I try -Xingcg and it works well. Thank you -Message d'origine-De : Anirban Bhadore [EMAIL PROTECTED]À : [EMAIL PROTECTED] [EMAIL PROTECTED]Date: lundi 31 mars 2003 07:06Objet : Re: [JAVA3D] Memory Problem -Xincgc actually helps in reducing the pauses

Re: [JAVA3D] Memory Problem

2003-03-29 Thread hterrolle
of information you need to be able to help me -Message d'origine-De : Isaac Brobbey [EMAIL PROTECTED]À : [EMAIL PROTECTED] [EMAIL PROTECTED]Date: samedi 29 mars 2003 03:45Objet : Re: [JAVA3D] Memory Problem Hterrolle, No that is will have little effect

[JAVA3D] Memory Problem

2003-03-29 Thread Isaac Brobbey
Hi Hrotelle, Unreferenced Objects are Garbage Collected Automatically Memory is freed for Later Reuse Garbage Collection runs in a Low Priority Thread, either synchronously or asynchronously The finalize () Method is Inherited from Object and can be Overridden to Liberate

[JAVA3D] Memory problem

2003-03-28 Thread hterrolle
Hi, How can i make sure that old instance are remove when i use SYSTEM.GC(). because when i load 100 object and that i remove these object from the locale. I find out that the memory i ,not recevered by the system. If i reload 100 object and i remove it again. all the momery look used. i

[JAVA3D] AW: [JAVA3D] Memory problem

2003-03-28 Thread Florin Herinean
: Freitag, 28. März 2003 12:25An: [EMAIL PROTECTED]Betreff: [JAVA3D] Memory problem Hi, How can i make sure that old instance are remove when i use SYSTEM.GC(). because when i load 100 object and that i remove these object from the locale. I find out that the memory i ,not recevered

Re: [JAVA3D] AW: [JAVA3D] Memory problem

2003-03-28 Thread hterrolle
Thanks you Florin. herve -Message d'origine-De : Florin Herinean [EMAIL PROTECTED]À : [EMAIL PROTECTED] [EMAIL PROTECTED]Date: vendredi 28 mars 2003 14:07Objet : [JAVA3D] AW: [JAVA3D] Memory problem You can't. Java Garbage Collector is the only one who decides

Re: [JAVA3D] Memory problem

2003-03-28 Thread Isaac Brobbey
: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of hterrolle Sent: Friday, March 28, 2003 3:25 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Memory problem Hi, How can i make sure that old instance are remove when i use SYSTEM.GC(). because when i load 100 object

Re: [JAVA3D] Memory problem

2003-03-28 Thread hterrolle
: Isaac Brobbey [EMAIL PROTECTED]À : [EMAIL PROTECTED] [EMAIL PROTECTED]Date: vendredi 28 mars 2003 20:04Objet : Re: [JAVA3D] Memory problem System.gc only wakes the garbage collector, if it is not started. You may explicitly set the object to null. If the objects

[JAVA3D] Memory Problem

2003-03-28 Thread hterrolle
Hi again, I try the solution of setting the object to null but no amelioration. But i think my problem is more about coding. So the question is: Does the import are copied into the running code.So ! if i witre ( import java.io.* )the code will be bigger thanif i onlywrite (

Re: [JAVA3D] Memory Problem

2003-03-28 Thread Isaac Brobbey
Brobbey Java2 Java3D MS/CIT Project -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of hterrolle Sent: Friday, March 28, 2003 3:58 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Memory Problem Hi again, I try the solution