I've found that the master doesn't need as much memory as the regionserver.
I've been successful giving the region servers 4GB or more and the master 1GB or less. (I used HBASE_MASTER_OPTS and HBASE_REGIONSERVER_OPTS in hbase-env.sh for specifying different heap sizes) Has anybody else had a different experience? -Matthew On Aug 31, 2010, at 11:36 AM, Vidhyashankar Venkataraman wrote: > Hi Avani, > 4 gigs might be enough for your app.. But did you make sure that you are > using a 64-bit jvm? > > > On 8/31/10 11:32 AM, "Sharma, Avani" <[email protected]> wrote: > > Well, I have a 16G machine and I do not want to give all memory to hbase > since each hbase deamon will take 4Gigs - master and regionserver are running > on the same machines and also hdfs daemons. > > -Avani > > -----Original Message----- > From: Vidhyashankar Venkataraman [mailto:[email protected]] > Sent: Tuesday, August 31, 2010 10:48 AM > To: [email protected] > Subject: Re: Initial and max heap size > > Make sure you are using a 64 bit JVM as opposed to 32-bit.. 32 bit java > doesn't allow more than 3-4 gigs.. > > > On 8/31/10 10:43 AM, "Sharma, Avani" <[email protected]> wrote: > > Is there a way to specify an initial and max heap size to hbase ? > Giving 4G to HBASE_HEAPSIZE fails to start the JVM. > > Thanks, > Avani Sharma > > > >
