Results 1 to 3 of 3
Thread: JVm Heap memory settings
- 08-11-2007, 02:49 PM #1
Member
- Join Date
- Aug 2007
- Posts
- 3
- Rep Power
- 0
- 12-22-2008, 06:27 PM #2
Memory allocation settings
Here is a link to the 1.5 documentation; I can't find the same for 1.6, but I doubt it changed: java sun com/j2se/1.5.0/docs/tooldocs/windows/java.html (I'm not allowed to create links).
The settings I think you are looking for are
These entries belong in the options,Java Code:-Xmsn Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 2MB. Examples: -Xms6291456 -Xms6144k -Xms6m -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. Examples: -Xmx83886080 -Xmx81920k -Xmx80m
java -Xmx512m -cp ...
- 09-17-2009, 05:47 PM #3
Member
- Join Date
- Aug 2009
- Location
- Heidelberg
- Posts
- 47
- Rep Power
- 0
In Java 1.6 the default values are calculated based on the system configuration:
java - the Java application launcher
Best regards, Lars
Similar Threads
-
Graphic settings being overridden?
By sjchase in forum New To JavaReplies: 0Last Post: 01-16-2008, 11:27 PM -
Saving application settings
By mwildam in forum New To JavaReplies: 0Last Post: 11-16-2007, 02:30 PM -
JVM Heap memory settings
By nagesh in forum New To JavaReplies: 1Last Post: 08-11-2007, 10:17 PM -
Detecting Browser Settings
By arupranjans in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-31-2007, 02:31 PM -
Java Heap Out of Memory Error
By stonkers in forum New To JavaReplies: 3Last Post: 07-17-2007, 04:43 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks