Yeah, I use JCreator. Once you have all your .java files in a project, then Go to the
Project menu and choose project settings. There, you choose the JDK Tools tab. In
the Select Tool Type pull-down, choose Run Application. If you are going to change
the default then highlight it and click on Edit. Click on the Parameters tab. In the
Parameters textbox enter the Xmx and Xms parameters. If you click on the Right Arrow
and choose JAVA, you can click on them and JCreator will add them in for you.
Also, while you are there choose 'Show additional run_time info'. And while you are
changing you're Run Application, choose 'Show commandline'. Then you can always see
how much memory you are allocating and so forth.
JCreator is available, for free (of course), at www.jcreator.com.
Cheers,
John.
>
> From: Lan Wu-Cavener <[EMAIL PROTECTED]>
> Date: 2001/07/23 Mon AM 10:54:02 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] array/memory limits
>
> I crossed somewhere that the default size of Java heap is 16MB. You will
> need to use the command parameter to increase the max. heap size. But I
> have not found a development tool that I can set the parameter in advance.
> Does anyone have better luck?
>
> Thanks!
>
>
>
>
> At 08:18 AM 7/19/2001 -0600, you wrote:
> >Remember, you can always give the VM more memory to work with by using
> >the -Xmx# parameter. This increases the heap available to the VM. I don't
> >know the default value the VM receives when it starts up without the -X
> >param, but it's a modest amount. Try this:
> >
> >java -Xms256 <your app>
> >
> >Assuming, of course, that you've got the 256 Megs you can give the VM.
> >
> >You also may want to look at Runtime.freeMemory() and Runtime.totalMemory().
> >
> >For fun, you might want to include
> >...\jdk1.3\demo\jfc\Java2D\src\MemoryMonitor.java in your project.
> >
> >
> >----- Original Message -----
> >From: "John Barreto" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, July 18, 2001 6:51 PM
> >Subject: [JAVA3D] array/memory limits
> >
> >
> > > Hi everybody,
> > >
> > > I think I've hit a wall in writing a simple Java3D program. I am getting
> >an error:
> > >
> > > Exception in thread "main" java.lang.OutOfMemoryError
> > >
> > > My question is: what is the largest possible array size I can declare in
> >Java?
> > >
> > >
> >===========================================================================
> > > 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".
> >
> >
> >_________________________________________________________
> >Do You Yahoo!?
> >Get your free @yahoo.com address at http://mail.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".
>
> Lan Wu-Cavener
> Research Associate and Programmer
> Dept. of Landscape Architecture
>
> ===========================================================================
> 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".