Search:

Type: Posts; User: helloworld922

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    3,663

    Re: Increase Java Memory Allocation

    Whenever you run Java simply add the argument.

    Example:

    >> rem run java with 512 MB max heap size
    >> Java -Xmx512m myClass

    If you're using an IDE, you'll have to look through the IDE...
  2. Replies
    4
    Views
    3,663

    Re: Increase Java Memory Allocation

    call the JVM with the following arguments:

    -Xms for initial heap size (default: 32 MB)
    -Xmx for max heap size (default: 128 MB)

    So, for example say you wanted to use a max heap size of 512MB:...
Results 1 to 2 of 2