[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 Ya

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

[JAVA3D] Offscreen rendering and JPEG encoding

2005-06-09 Thread Russell East
I have a server app that uses Canvas3D in offscreen mode. After receiving a request, the app gets the Canvas3D to render into a BufferedImage, then uses JAI to encode the image to JPEG. I've been getting some odd performance stats out of this app, and have been trying to tune it by choosing diff