Minor correction for the VM option syntax: -XX:+UseCompressedOops On Wed, Mar 24, 2010 at 9:24 AM, Andrew Purtell <[email protected]> wrote:
> > We would appreciate tips/information of how to change the > > configuration so that OOME probability is minimized. > > Try running with 4GB heaps if you can. > > On recent JVMs -- but don't use 1.6.0_18! -- you can have the JVM compress > 64 bit object references into 32 bits. This will save heap at minor > performance cost. Add '-XX:UseCompressedOops' to HBASE_OPTS in hbase-env.sh. > For more information on compressed OOPS: > http://wikis.sun.com/display/HotSpotInternals/CompressedOops > > Also see this page on the HBase wiki for some related information: > http://wiki.apache.org/hadoop/PerformanceTuning, the section "HBase JVM > and GC" > > Hope this helps, > > - Andy > > > > > >
