Re: [JAVA3D] encounter "OutOfMemory" when Applet reads 3D models larger than about 5MB

2004-07-30 Thread Alessandro Borges
Open the Java Plug In Control Panel (Start|ControlPanel|JavaPlugIn) and click "Advanced" tab and at "Java Runtime Parameters" write -Xmx256m You can increase the amount of max memory available to JVM just setting a value greater than 256. DO NOT forget the m sufix, for megabytes. On Unix system

Re: [JAVA3D] encounter "OutOfMemory" when Applet reads 3D models larger than about 5MB

2004-07-30 Thread Mona Wong-Barnum
Hi Jeff: There is a way to increase the applet memory. I googled and found https://webproof.data-mail.com/Help/Low_Memory_Problem.htm which may be helpful to you. > I wrote an Applet that reads and displays VRML files. Everything is fine > when the .wrl file is no larger than about 5MB

Re: [JAVA3D] encounter "OutOfMemory" when Applet reads 3D models larger than about 5MB

2004-07-30 Thread jinping
Thank you, Mona, Alessandro and Gasdia! Your suggestions work on my computer. I successfully loaded and displayed a model larger than 20MB. It's really exciting having solved this problem finally. Thank you all. But I have one more question: I don't think it's a good idea to ask all the visitors o

Re: [JAVA3D] encounter "OutOfMemory" when Applet reads 3D models larger than about 5MB

2004-07-30 Thread Mona Wong-Barnum
Hi Jeff: If you launch your application using Java Webstart, you can set the memory for your application via the JNLP file...that's how we do it. cheers, Mona == Mona Wong-Barnum National Center for Microscopy and Imagin