Hi,
> I am not sure if you are misspelling but you must type -Xmx512m > for 512 mb as maximum memory size Don't worry I have been spelling it correctly when I run my program. >A few days ago I saw a tip about removing/add bg w/o leaking memory... >Search in the posts of last month. I guess you can find it. Yes I found the tip see http://archives.java.sun.com/cgi-bin/wa?A2=ind0306&L=java3d-interest&F=&S=&P=75879 . It involves adding an empty BranchGroup to your universe. It is not perfect but it is said to make the problem a bit better. Anyway it has now been entered as a bug. How could such a major bug be allowed to exist for so many years? Regards Mike ___________________________________ Mike Goldwater -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Alessandro Borges Sent: 08 September 2004 17:52 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Out of memory I am not sure if you are misspelling but you must type -Xmx512m for 512 mb as maximum memory size and -Xms128m for a initial heap with 128 mb A few days ago I saw a tip about removing/add bg w/o leaking memory... Search in the posts of last month. I guess you can find it. Alessandro --- Mike Goldwater <[EMAIL PROTECTED]> escreveu: > Alessandro, > > > > Thank you for your hint. However I am up to 512MB (I have 2GB in my computer > but any more than -Xm512M makes the ATI driver blue screen Ãââ a question for > another day.) Eventually whatever value I use I get the out of memory problem > back. KRK in his problem got the out of memory problem only after repeated > additions and deletions from his branch group Ãââ this is very similar to > mine as I frequently change the scene graph. > > > > Regards > > Mike > > _____ > > Mike Goldwater > Auric Hydrates Ltd > 26, Sandal Road > New Malden > Surrey > KT3 5AP > ________ > Work: +44 (20) 8949 0353 > Home: +44 (20) 8395 7587 > Mobile: +44 (7956) 359001 > e-mail: [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]> > web: http://www.wellwhiz.com <http://www.wellwhiz.com/> > > > > _____ > > From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] > On Behalf Of cs > Sent: 07 September 2004 15:12 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Out of memory > > > > Mike GoldwaterÃÂÅÃâÂÃÂÂà> > an old topic.I find a mail about it on 2004-07-30: > > > > ÃââÃââ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 (Linux included) the Control Panel can be found in the JRE > folder. > > Alessandro > > > --- Gasdia Roberto <[EMAIL PROTECTED]> escreveu: > > try to launch java -ms300m ...... where 300 mb is the maximum heap size > that > > you want for the applet (or application) . Of course your memory demand can > > be different... > > > > Hope this helps > > > > Roberto > > ----- Original Message ----- > > From: jinping > > To: [EMAIL PROTECTED] > > Sent: Friday, July 30, 2004 3:31 AM > > Subject: [JAVA3D] encounter "OutOfMemory" when Applet reads 3D models > > larger than about 5MB > > > > > > Hi, > > > > I wrote an Applet that reads and displays VRML files. Everything is > fine > > when the .wrl file is no larger than about 5MB. But when the total size of > > the .wrl file and it's .jpg texture excess 5MB, the JVM will always throw a > > "outOfMemory" exception. I'm sure the physical memory is sufficient for the > > program (512M RAM, WinXP). Has anyone encountered and solved this problem? > > Please help, thank you. > > > > > > > Jeff > > > > ======== 2004-09-07 14:49:00 ÃâÂÃÅÂÃÂÂÃÂÂÃÂÂÃââÃÂâÃÂÅ > ======== > > > > > Colleagues, > > > > In December 2000 KRK posted a note > http://archives.java.sun.com/cgi-bin/wa?A2=ind0012 > <http://archives.java.sun.com/cgi-bin/wa?A2=ind0012&L=java3d-interest&F=&S=&P=36521> > &L=java3d-interest&F=&S=&P=36521 to the list. His application runs out of > memory when he attaches and detaches screen graphs in succession. I canÃâât > find any reply, but I have the same problem. Someone some where must know the > answer. > > > > Thanks > > Mike > > > _____ > > > Mike Goldwater > Auric Hydrates Ltd > > > > = = = = = = = = = = = = = = = = = = = = = = > > ÃââÃââÃââÃââÃââÃââÃââÃââÃâ > ÃÂÂà> > > > ÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââcs > > [EMAIL PROTECTED] > > ÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââÃââ2004-09-07 > > > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > _______________________________________________________ Yahoo! Acesso GrÃtis - navegue de graÃa com conexÃo de qualidade! http://br.acesso.yahoo.com/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".