You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by sandeep khandekar <cl...@gmail.com> on 2014/08/19 01:01:39 UTC

Exception and system hangs

Hello Cloudstackers,

Running the following command
mvn -pl :cloud-client-ui jetty:run
got an error

root of factory hierarchy
Exception in thread "Timer-1"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "Timer-1"

Terminal hangs If I press ctl+c, a line pops up

Java HotSpot(TM) 64-Bit Server VM warning: Exception
java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler-
the VM may need to be forcibly terminated


what is the reason for the above error?
Do I need to have 4GB Ram?

-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad

Re: Exception and system hangs

Posted by Rohit Yadav <ro...@shapeblue.com>.
On 23-Aug-2014, at 8:08 am, sandeep khandekar <cl...@gmail.com> wrote:

> Hello Rohit,
> That worked. I request you to keep this line in documentation also.
> http://docs.cloudstack.apache.org/en/master/developer_guide.html

Having novice+ level knowledge of Java and Maven helps, follow this;
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack#HowtobuildCloudStack-Troubleshooting

And for the docs, discuss on dev@ or send a pull request.https://github.com/apache/cloudstack-docs
Patches welcome



>
> Thanks
>
>
> On Tue, Aug 19, 2014 at 4:35 AM, Rohit Yadav <ro...@shapeblue.com>
> wrote:
>
>> Hi,
>>
>> The JVM is out of memory, export the following in your bashrc/zshrc etc.
>> or before you run the jetty:run command;
>>
>> export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m”
>>
>> You may increase these values if needed.
>>
>> Hope this helps.
>>
>> On 19-Aug-2014, at 1:01 am, sandeep khandekar <
>> cloudstack.sandeep@gmail.com> wrote:
>>
>>> Hello Cloudstackers,
>>>
>>> Running the following command
>>> mvn -pl :cloud-client-ui jetty:run
>>> got an error
>>>
>>> root of factory hierarchy
>>> Exception in thread "Timer-1"
>>> Exception: java.lang.OutOfMemoryError thrown from the
>>> UncaughtExceptionHandler in thread "Timer-1"
>>>
>>> Terminal hangs If I press ctl+c, a line pops up
>>>
>>> Java HotSpot(TM) 64-Bit Server VM warning: Exception
>>> java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler-
>>> the VM may need to be forcibly terminated
>>>
>>>
>>> what is the reason for the above error?
>>> Do I need to have 4GB Ram?
>>>
>>> --
>>> SANDEEP KHANDEKAR
>>> Assistant Professor
>>> Department of Computer science and engineering
>>> Sreenidhi Institute of science and Technology
>>> Hyderabad
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +41 779015219 | rohit.yadav@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>
>
>
> --
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering
> Sreenidhi Institute of science and Technology
> Hyderabad

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: Exception and system hangs

Posted by sandeep khandekar <cl...@gmail.com>.
Hello Rohit,
That worked. I request you to keep this line in documentation also.
http://docs.cloudstack.apache.org/en/master/developer_guide.html

Thanks


On Tue, Aug 19, 2014 at 4:35 AM, Rohit Yadav <ro...@shapeblue.com>
wrote:

> Hi,
>
> The JVM is out of memory, export the following in your bashrc/zshrc etc.
> or before you run the jetty:run command;
>
> export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m”
>
> You may increase these values if needed.
>
> Hope this helps.
>
> On 19-Aug-2014, at 1:01 am, sandeep khandekar <
> cloudstack.sandeep@gmail.com> wrote:
>
> > Hello Cloudstackers,
> >
> > Running the following command
> > mvn -pl :cloud-client-ui jetty:run
> > got an error
> >
> > root of factory hierarchy
> > Exception in thread "Timer-1"
> > Exception: java.lang.OutOfMemoryError thrown from the
> > UncaughtExceptionHandler in thread "Timer-1"
> >
> > Terminal hangs If I press ctl+c, a line pops up
> >
> > Java HotSpot(TM) 64-Bit Server VM warning: Exception
> > java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler-
> > the VM may need to be forcibly terminated
> >
> >
> > what is the reason for the above error?
> > Do I need to have 4GB Ram?
> >
> > --
> > SANDEEP KHANDEKAR
> > Assistant Professor
> > Department of Computer science and engineering
> > Sreenidhi Institute of science and Technology
> > Hyderabad
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +41 779015219 | rohit.yadav@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>



-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad

Re: Exception and system hangs

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi,

The JVM is out of memory, export the following in your bashrc/zshrc etc. or before you run the jetty:run command;

export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m”

You may increase these values if needed.

Hope this helps.

On 19-Aug-2014, at 1:01 am, sandeep khandekar <cl...@gmail.com> wrote:

> Hello Cloudstackers,
>
> Running the following command
> mvn -pl :cloud-client-ui jetty:run
> got an error
>
> root of factory hierarchy
> Exception in thread "Timer-1"
> Exception: java.lang.OutOfMemoryError thrown from the
> UncaughtExceptionHandler in thread "Timer-1"
>
> Terminal hangs If I press ctl+c, a line pops up
>
> Java HotSpot(TM) 64-Bit Server VM warning: Exception
> java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler-
> the VM may need to be forcibly terminated
>
>
> what is the reason for the above error?
> Do I need to have 4GB Ram?
>
> --
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering
> Sreenidhi Institute of science and Technology
> Hyderabad

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.