Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

maximum heap size of JVM

843835Apr 3 2002 — edited Apr 5 2002
hi,

I need to set the maximum heap size of the JVM. I know that I can do
it for a single run by saying:

java -Xmx75M example.class

But how do I make the JVM use this maximum heap size for all its
runs, without specifying '-Xmx75M' in every run.

I need this because I am using my system as a server for JSP web
site. For that site if a very simple query is given such as 'a' in title, as many as 6000
records as retrieved from my Filemaker Databases and the java
ResultSet object is not able to handle those records. The system is
then throwing an exception and error message 'Host not found' is
sent back to the client's browser. As far as I know, Filemaker does
not support 'LIMIT' keyword in queries.

So please tell me how can I rectify that problem.

Thanks in advance,
niranjan maturi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2002
Added on Apr 3 2002
4 comments
135 views