-XX:MaxPermSize=800m is too luxury, according to memory-profiling result that I did before, for current CloudStack code base, permanent heap needs is a little more than 100 MB, I think -XX:MaxPermSize=128m should be okay, 256m would be a very safe bet.
Kelven On 4/25/13 5:04 PM, "Parth Jagirdar" <parth.jagir...@citrix.com> wrote: >Well resolved... > >Change - Xmx runtime param on control panel didn't help. > >Used Chiradeep's one liner for rescue.. > >export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug >-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" > > >Updated Cwiki's > >https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudS >tack+dev+environment+on+Windows > > >Thanks, >.. Parth > > >-----Original Message----- >From: Parth Jagirdar [mailto:parth.jagir...@citrix.com] >Sent: Thursday, April 25, 2013 4:19 PM >To: dev@cloudstack.apache.org >Subject: MS Run issue > >Run issue on Windows this time... >Originally posted in first MAC out of memory thread (Solved :-) ) but >separating now as different issues. > >Suggestions...? > > >pl,vMSnapshotManagerImpl,volumeManagerImpl,ClassicalPrimaryDataStoreProvid >er,AffinityGroupServiceImpl,DeploymentPlanningManager,AffinityGroupJoinDao >Impl,AffinityGroupDaoImpl,AffinityGroupVMMapDaoImpl,databaseUpgradeChecker >,configurationDaoImpl,GlobalLoadBalancingRulesServiceImpl,niciraNvpDaoImpl >,niciraNvpNicMappingDaoImpl,niciraNvpRouterMappingDaoImpl,NiciraNvpGuestNe >tworkGuru,NiciraNvp,MidoNetGuestNetworkGuru,MidoNetElement,userAuthenticat >ors,userPasswordEncoders,securityCheckers,resourceDiscoverers,haInvestigat >ors,haFenceBuilders,deploymentPlanners,podAllocators,hostAllocators,storag >ePoolAllocators,ipDeployers,dhcpProviders,networkGurus,networkElements,Hos >tAntiAffinityProcessor,affinityProcessors,org.springframework.context.anno >tation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; >root of factory hierarchy INFO [utils.component.ComponentContext] >(main:) Setup Spring Application context INFO >[cloud.serializer.GsonHelper] (main:) Default Builder inited. >INFO [cloudstack.discovery.ApiDiscoveryServiceImpl] (main:) Api >Discovery Service: Annotation, docstrings, api relation graph processed >in 640.788117 ms INFO [cloud.api.ApiServer] (Thread-8:) ApiServer >listening on port 8096 INFO [web.context.ContextLoader] (main:) Root >WebApplicationContext: initialization completed in 15533 ms INFO >[cloud.utils.LogUtils] (main:) log4j configuration found at >C:\cloudstack\client\target\cloud-client-ui-4.2.0-SNAPSHOT\WEB-INF\classes >\log4j-cloud.xml >INFO [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) >JSR-330 'javax.inject.Inject' annotation found and supported for >autowiring >2013-04-25 15:24:42.037:INFO::Started >SelectChannelConnector@0.0.0.0<mailto:SelectChannelConnector@0.0.0.0>:8080 >[INFO] Started Jetty Server > >Exception in thread "Timer-2" Exception in thread "Timer-1" > > > >Platform: >Windows 7 with cygwin... Xmx set to 2048 from control panel as runtime >param. >