Re: [JAVA3D] Out of Memory error

2003-01-09 Thread Hans Horn
Never mind - I was just upset that there was a lot of junk information given that did not seem to be pertinent to the problem reported. With "knowing Java" I was rather referring to a "certain minimum Java skill level", which is definitively a pre-req before one can start to tackle Java3D. H. ==

Re: [JAVA3D] Out of Memory error

2003-01-09 Thread Nathan Bower
I don't think this is really in the spirit of things. The first step on the path to knowing everything is knowing nothing you know. N > - consider this code snippet : ... > Vector comp1 = new Vector(); > comp1= processComplement(hix,viis); > objRoot.addChild(makeOneGraph(k,comp1))

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Hans Horn
Isaac, I'd guess that the memory hog is buried in the not shown method makeOneGraph(). That's where I would start digging if Mona's suggestion about upping the memory you give to the JVM at startup does'nt cut it. All the code you have shown us, does not seem to be relevant for the problem to oc

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Brandon
I'm not sure what your direct cause is. To increase memory look at http://www.j3d.org/faq/running.html#memory I have a question, though, why are you using a for and a switch to execute your commands? Just execute the commands directly sequentially, since that is what is going to happen anyway... I

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Mona Wong-Barnum
> Exception in thread "main" java.lang.OutOfMemoryError You need to give it more memory. Try: java -mx128M ... Cheers, Mona == Mona Wong-Barnum National Center for Microscopy and Imaging Research University of Cali

[JAVA3D] Out of Memory error

2003-01-08 Thread Brobbey,Isaac (neuron)
Dear all: i am in trouble with java3D again. i have created a branch group with six children.each of the children is also a branch group containing a scene to be displayed, something like scene = createSceneGraph(vis); scene.compile(); pickCanvas = new PickCanvas(canvas, scene);

[JAVA3D] out of memory error in java 3D

2000-06-14 Thread Kelvin Chung
By Microsoft MimeOLE V5.00.2314.1300 Date: Mon, 12 Jun 2000 15:31:16 -0700 From: Ching Lai <[EMAIL PROTECTED]> Subject: [JAVA3D] out of memory error in java 3D To: [EMAIL PROTECTED] It seems Java 3D memory never get released. I modify the HelloUniverse sample program to add a "for" loop to

Re: [JAVA3D] out of memory error in java 3D

2000-06-13 Thread Ching Lai
it might have something to do with the garbage collection of Canvas3D and SimpleUniverse objects. Ching > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Couch > Sent: Monday, June 12, 2000 5:39 PM > To: [EMAIL PROTECTED] &g

Re: [JAVA3D] out of memory error in java 3D

2000-06-12 Thread Justin Couch
Ching Lai wrote: > out of memory exception. I am running on NT4.0 with > 256M byte of RAM on Jdk1.2.2 and J3d 1.13 release. > I did not use -Xmx options to increase heap size. > Does any one have the same "memory leak" problem > in using 3D? I have attached a copy of modified program > for Hell

[JAVA3D] out of memory error in java 3D

2000-06-12 Thread Ching Lai
It seems Java 3D memory never get released. I modify the HelloUniverse sample program to add a "for" loop to create scene and SimpleUniverse. The program get out of memory exception. I am running on NT4.0 with 256M byte of RAM on Jdk1.2.2 and J3d 1.13 release. I did not use -Xmx options to increa