You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2010/06/22 23:50:41 UTC

Re: Problems with region server OOME

Minor correction for the VM option syntax:
-XX:+UseCompressedOops

On Wed, Mar 24, 2010 at 9:24 AM, Andrew Purtell <ap...@apache.org> 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
>
>
>
>
>
>