free -m
total used free shared buffers cached
Mem: 24097 783 23313 0 1 42
-/+ buffers/cache: 739 23357
Swap: 24575 0 24575
> -----原始邮件-----
> 发件人: haosdent <[email protected]>
> 发送时间: 2014年1月21日 星期二
> 收件人: [email protected]
> 抄送:
> 主题: Re: cannot start hregionserver
>
> Use "free" cmd to get more details about you available memory.
>
>
> On Tue, Jan 21, 2014 at 2:44 PM, LEI Xiaofeng <[email protected]> wrote:
>
> > Hi,
> > I added a new node to my HBase cluster. The PC is the same as the old
> > ones. It has 24G memory. When I tried to start regionserver on that node, I
> > got error below:
> >
> > Could not create the Java virtual machine.
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > Could_not_reserve_enough_space_for_object_heap
> > Caused by: java.lang.ClassNotFoundException:
> > Could_not_reserve_enough_space_for_object_heap
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > Could not find the main class:
> > Could_not_reserve_enough_space_for_object_heap. Program will exit.
> >
> > I tried to decrease the value of HBASE_HEAPSIZE. But it did not help. Does
> > anyone can give me some advice?
> >
> > Thanks
> >
>
>
>
> --
> Best Regards,
> Haosdent Huang