I added this line to my CS build scripts:
export MAVEN_OPTS="-Xmx2000m -XX:MaxPermSize=512m"

It works. However, it would be so nice to decrease the memory requirements.


On Sun, Nov 3, 2013 at 11:12 PM, Daan Hoogland <daan.hoogl...@gmail.com>wrote:

> Usman,
>
>
> You probably forgot the actions at the bottom of step 4:
> Modify the following things in eclipse.ini.  The file can be found in
> the directory you installed eclipse to.
>
> Change launcher.XXMaxpermSize to 1024m
> Add or change to -Xms1024m
> Add or change to -Xmx2048m
>
>
> On Sun, Nov 3, 2013 at 10:21 PM, Usman Wyne <uw...@yahoo.com> wrote:
> >
> > Hi dev community
> > I apologize upfront if some of these questions would look quite basic,
> but I
> > am new to Cloud Stack and Open Source Software environment and feel that
> I
> > need some guidance.
> >
> > I am following the directions at this site for basic windows compilation
> >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows
> >
> > When I reach this step (Step 13) Build) and I run
> >
> > mvn -pl :cloud-client-ui jetty:run
> >
> > I end up with
> >
> > Exception in thread "Timer-3" java.lang.OutOfMemoryError: PermGen space
> >         at java.lang.ClassLoader.defineClass1(Native Method)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
> >         at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
> >
> > I am attaching the whole output file just in case you find that useful.
> > Thanks again for your time and help
> > Regards
> > Usman Wyne
> >
> >
>



-- 

EOF

Reply via email to