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&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".

Reply via email to