Results 1 to 3 of 3
  1. #1
    nagesh is offline Member
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    0

    Default JVm Heap memory settings

    Hi,
    How to increase the JVm Heap memory maximum size to 512mb.
    I am not runnnig any web servers in my machine.Few .jar files are running to connect to Siebel system from the Biztalk server.

    Thanks,
    nagesh

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default 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

    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
    These entries belong in the options,

    java -Xmx512m -cp ...

  3. #3
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

Similar Threads

  1. Graphic settings being overridden?
    By sjchase in forum New To Java
    Replies: 0
    Last Post: 01-17-2008, 12:27 AM
  2. Saving application settings
    By mwildam in forum New To Java
    Replies: 0
    Last Post: 11-16-2007, 03:30 PM
  3. JVM Heap memory settings
    By nagesh in forum New To Java
    Replies: 1
    Last Post: 08-11-2007, 11:17 PM
  4. Detecting Browser Settings
    By arupranjans in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 07-31-2007, 03:31 PM
  5. Java Heap Out of Memory Error
    By stonkers in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 05:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •