dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03734
Re: Error running DHIS 2 on Jetty on Ubuntu
2009/12/17 Lars Helge Øverland <larshelge@xxxxxxxxx>
>
>
> 2009/12/17 Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>
> Maven black magic. i wish I knew things like mvn dependency:tree. That
>> sounds useful.
>>
>> :-)
>
> Now I am running into more trouble. While building the "core" modules
> without tests I am getting
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] PermGen space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: PermGen space
>
>
> This never happened even on windows. I have set JAVA_OPTS in .bashrc to
>
> -Xms512m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=2048m
>
> Any idea why this suddenly is happening or what I might have done wrong?
>
> Lars
>
And now another one, more detailed:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2383)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
at com.sun.tools.javac.util.Messages.getDefaultBundle(Messages.java:114)
at com.sun.tools.javac.util.Messages.<init>(Messages.java:45)
at com.sun.tools.javac.util.Messages.instance(Messages.java:35)
at
com.sun.tools.javac.util.JCDiagnostic$Factory.<init>(JCDiagnostic.java:57)
at
com.sun.tools.javac.util.JCDiagnostic$Factory.instance(JCDiagnostic.java:47)
at com.sun.tools.javac.util.Log.<init>(Log.java:104)
at com.sun.tools.javac.util.Log.<init>(Log.java:149)
at com.sun.tools.javac.util.Log.<init>(Log.java:143)
at com.sun.tools.javac.util.Log.instance(Log.java:156)
at
com.sun.tools.javac.util.DefaultFileManager.setContext(DefaultFileManager.java:166)
at
com.sun.tools.javac.util.DefaultFileManager.<init>(DefaultFileManager.java:159)
at
com.sun.tools.javac.util.DefaultFileManager$1.make(DefaultFileManager.java:145)
at
com.sun.tools.javac.util.DefaultFileManager$1.make(DefaultFileManager.java:143)
at com.sun.tools.javac.util.Context.get(Context.java:132)
at com.sun.tools.javac.util.Context.get(Context.java:161)
at com.sun.tools.javac.main.Main.compile(Main.java:338)
References