If you run directly through Eclipse, you don't need

-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

You may put your memory settings to the debug profile under JRE tab for
JVM settings

Kelven

On 3/6/13 10:16 AM, "Mike Tutkowski" <mike.tutkow...@solidfire.com> wrote:

>Thanks
>
>I dropped that value down.
>
>For some reason I get this exception in Eclipse, but not my normal
>console:
>
>Caused by: org.springframework.beans.BeanInstantiationException: Could not
>instantiate bean class [com.cloud.vm.dao.DomainRouterDaoImpl]: Constructor
>threw exception; nested exception is java.lang.OutOfMemoryError: Java heap
>space
>
>at 
>org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
>
>at
>org.springframework.beans.factory.support.SimpleInstantiationStrategy.inst
>antiate(
>SimpleInstantiationStrategy.java:76)
>
>at
>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
>ry.instantiateBean(
>AbstractAutowireCapableBeanFactory.java:990)
>
>... 327 more
>
>Caused by: java.lang.OutOfMemoryError: Java heap space
>
>
>On Wed, Mar 6, 2013 at 11:10 AM, Kelven Yang <kelven.y...@citrix.com>
>wrote:
>
>> Mike,
>> you are giving too much to MaxPermSize, with latest master/ASF 4.1
>>branch,
>> -XX:MaxPermSize=128m would be enough
>>
>> Kelven
>>
>> On 3/5/13 11:04 PM, "Mike Tutkowski" <mike.tutkow...@solidfire.com>
>>wrote:
>>
>> >-XX:MaxPermSize=1024m -Xmx2048m
>>
>>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkow...@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud<http://solidfire.com/solution/overview/?video=play>
>**

Reply via email to