You can just use the JVM option 'mx' as in exapmle 'java -mx1024MB file'. This this set the maximum heap size to 1024MB. for example to run 'HelloWorld' program use the following command,
java -mx1024MB HelloWorld Gangadhar -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Bikash Paul Sent: Monday, December 10, 2001 2:45 AM To: [EMAIL PROTECTED] Subject: How I can set the Non-standard option -Xmxn of JVM Hi there, Can any one tell me how I can set the Non-standard option of -Xmxn of jvm (setp by step).Iam using Sun's jvm(jdk1.2.2).Iam facing a error(java.lang .OutOfMemory).I want to set the maximum size of the memory allocation pool.Any help will be highly appreciated. Thanks for ur valuable Time Bikash __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
