This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Performance and the fly likes Allocate more memory for Heap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Allocate more memory for Heap" Watch "Allocate more memory for Heap" New topic

Allocate more memory for Heap

Ayan Dutta
Ranch Hand

Joined: Oct 16, 2005
Posts: 94
Is there any file inside JRE to mention the Xmx and xms parametre values ,so that I don't have to pass the parametres as command line arguements ?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Start your program using a batch file (Windows) or shell script (UNIX), and include those parameters in the script.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Allocate more memory for Heap
It's not a secret anymore!