File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 24195

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!