Hi Mario: My apologies of this answer has been explored or talked about already...
We use Java Web Start to launch our Java 3D application. In the JNLP file, we can add info about the memory size and this works for us. Here is our JNLP file for our Java 3D application, notice the "<j2se version="1.4+" initial-heap-size="64m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se"/>" line: <?xml version="1.0" encoding="utf-8"?> <!-- Data Visualization Software --> <jnlp spec="1.0+" codebase="http://ncmir.ucsd.edu/distr" href="JViewer/JViewer.jnlp"> <information> <title>JViewer</title> <vendor>National Center for Microscopy and Imaging Research</vendor> <homepage href="http://ncmir.ucsd.edu/doc/JViewer/"/> <description>Data Visualization Software</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.4+" initial-heap-size="64m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se"/> <jar href="JViewer/JViewer.jar"/> <jar href="lib/ContourData.jar"/> <jar href="lib/InternalErrorException.jar"/> <jar href="lib/Neurolucida.jar"/> <jar href="lib/BrowserLauncher.jar"/> <jar href="lib/Synu.jar"/> <jar href="lib/Analyze.jar"/> </resources> <application-desc main-class="JViewer" > </application-desc> </jnlp> Hope that helps. cheers, Mona > I appreciate the answer...but I have a followup for anyone using > InstallAnywhere NOW: > > is there a way to tell "InstallAnywhere NOW" to include the -Xms and -Xmx > values > at the start? I'm having trouble doing it. > > Thanks again, > > Mario > > Mariusz Zaczek > NASA - Johnson Space Center > Automated Vehicles and Orbit Analysis / DM35 > Flight Design and Dynamics Division > Mission Operations Directorate > Bldg: 30A Room: 3040A > > Disclaimer: "The opinions, observations and comments expressed in my email > are strictly my own and do not necessarily reflect those of > NASA." > > "Failure is never quite so frightening as regret." - Cliff's wife (The Dish) > > > -----Original Message----- > From: William Denniss [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 5:08 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Xms and Xmx > > > On Tue, 2003-11-18 at 01:10, Paul Gordon wrote: > > I'm pretty sure you can't, otherwise that would defeat the whole point! > > As a security measure, the stack size is implicitly capped so that the > > program can't take over the machine unless you explicitly allow it... > > > > Your best bet to make the invocation simple is to write a .bat and a .sh > > in your distribution, so that these wrappers can launch Java with the > > appropriate arguments. > > > > And this is one of the limitations of executable jar files (and JWS). > Shell scripts can't be done away with just yet, for better or worse. > > Will. > > > -- > http://tankammo.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". Mona ================================================================== Mona Wong-Barnum National Center for Microscopy and Imaging Research University of California, San Diego http://ncmir.ucsd.edu/ "Circumstances don't make a man, they reveal him" -- James Allen ================================================================== =========================================================================== 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".