ImageTexture using jpg's bigger then 1mb (or any rasterimage..unsure)...
try to downsample bigger jpgs...
thats the way I'd managed this 3 years ago...maybe today there's a better solution...
I never try that what goalsgoals2004 has written...but sounds better :-)
best regards
rolf
Mike Goldwater schrieb:
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] <mailto:[EMAIL PROTECTED]>> escreveu:try to launch java -ms300m ...... where 300 mb is the maximum heapsize thatyou want for the applet (or application) . Of course your memorydemand canis finebe different...
Hope this helps
Roberto ----- Original Message ----- From: jinping To: [EMAIL PROTECTED] <mailto:[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. Everythingwhen the .wrl file is no larger than about 5MB. But when the totalsize ofthe .wrl file and it's .jpg texture excess 5MB, the JVM will alwaysthrow a"outOfMemory" exception. I'm sure the physical memory is sufficientfor theprogram (512M RAM, WinXP). Has anyone encountered and solved thisproblem?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 <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] <mailto:[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".
--
Rolf Gabler-Mieck
c/o LGI-Geographisches Institut der CAU-Kiel
Ludewig-Meyen Str. 14
24098 Kiel
Tel: +49 431-880.2955
FAX: +49 431-880.4658
e-mail: [EMAIL PROTECTED]
=========================================================================== 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".