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: give some basic information, but a more detailed understanding about t

Re: [JAVA3D] Memory problem

2005-06-10 Thread Saeed Ansari
Hello, I increased heap size up to 512MB, but the problem still exist. I should say that I tested in IDEs' IntelliJIDEA and Jbuider2005. and I modified their config files and changed -Xmx parameter. Is it possible that it doesn't change the JVM parameter ? And also I used System.gc() , and now I c

Re: [JAVA3D] Memory problem

2005-06-10 Thread Hrvoje Smolic
Saeed, textures consume much memory in Java. You should increase heap size of your application by argument -Xmx128m or -Xmx256m... So:         java -Xmx256m YourClass Saeed Ansari <[EMAIL PROTECTED]> Sent by: Discussion list for Java 3D API 09.06.2005 19:13 Please respond to Discussion

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 :   BranchGroup bg=new v

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

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

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

Re: [JAVA3D] Memory Problem

2003-03-30 Thread Anirban Bhadore
otspot 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: [JAVA

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 in

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.runFinalizatio

Re: [JAVA3D] Memory Problem

2003-03-30 Thread hterrolle
hi saaci,   all right. I just ask one question. can i improve my application by importing only the class i nedd   java.io.file rather than java.io.*   thank you   PS: i read about improving gargave collector but my system does not allow to set garbage timer wake up -Message d'origine--

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 wi

Re: [JAVA3D] Memory Problem

2003-03-28 Thread Isaac Brobbey
Hterrolle,   No that is will have little effect on the memory thing. Can you tell us what exactly you want to do? At what point does the memory get full? Are you sure it is not memory leaks ? I can look into your problem if you can tell me what you are trying to do.           I

Re: [JAVA3D] Memory problem

2003-03-28 Thread hterrolle
---De : 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 t

Re: [JAVA3D] Memory problem

2003-03-28 Thread Isaac Brobbey
System.gc only wakes the garbage collector, if it is not started. You may explicitly set the object to null. If the objects are of the same type, then put them in an array and set the array to null.   Isaac Brobbey Java2 & Java3D MS/CIT Project -Original Message- From: Di