Re: Java Optimization on RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Here are some general suggestions I was able to track down.
>
> Size the java heap accordingly.  There is a 2GB contiguous memory limit
> on linux, so try sizing the heap at 1.6gb.
> For the hotspot JVM the flags are:
> java -server -Xms1600m -Xmx1600m
>
> more advanced options are available if GC is a bottleneck.
> First, try AggressiveHeap.
> -server -Xms1600m -Xmx1600m -XX:+AggressiveHeap
>
> AggressiveHeap turns on ParallelGC, TLABs and sizes  the young
> generation, along with a few other platform and competitive benchmarking
>  specific flags.  The important flags to try are:
>
> -Xmn400m (size young gen. to 1/4 overall heap size to start)
>
> -XX:+UseParallelGC
>
> -XX:+UseTLAB
>
> Cheryl


Thanks Cheryl, I forwarded this to our Java programmer.

Chris



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux