Re: Java VM Heap
From: Jared Dykstra (dyksjare_at_hotmail.com)
Date: 02/04/04
- Previous message: Jared Dykstra: "Re: Help with compiling needed"
- Next in thread: nos: "Re: Java VM Heap"
- Reply: nos: "Re: Java VM Heap"
- Reply: kimbuba: "Re: Java VM Heap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 4 Feb 2004 10:48:41 -0800
"kimbuba" <kimbuba3_NOSPAM@yahoo.it> wrote in message news:<vnQSb.17402$VS6.12536@tornado.fastwebnet.it>...
> Hello,
> do you guys know how to increase the maximum heap for the jvm?
> I know about giving to apps args like:
> -Xmx<size> set maximum Java heap size
>
> But i would like to give to my VM maximum heap defaults.
> Any application that will use my Vm is set as default to -Xmx256M; without
> setting it manually for each app.
>
> thnx!
> Kimbuba.
It depends on your virtual machine.
Note how this is problematic: The goal of Java is to 'write once, run
anywhere.' If you have to tweak the VM, you begin to defeat this
principle. If you need hundreds of megs available stack space,
perhaps you should rework your code, removing some recursion and using
a queue instead, thereby eliminitating a stack space dependency.
--- Jared Dykstra http://www.bork.org/~jared
- Previous message: Jared Dykstra: "Re: Help with compiling needed"
- Next in thread: nos: "Re: Java VM Heap"
- Reply: nos: "Re: Java VM Heap"
- Reply: kimbuba: "Re: Java VM Heap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|