ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Stump (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3517) Modify build instructions to increase PermGen
Date Wed, 20 Jul 2016 18:46:20 GMT
Matt Stump created IGNITE-3517:
----------------------------------

             Summary: Modify build instructions to increase PermGen
                 Key: IGNITE-3517
                 URL: https://issues.apache.org/jira/browse/IGNITE-3517
             Project: Ignite
          Issue Type: Bug
          Components: build, documentation
            Reporter: Matt Stump
            Priority: Minor


When building maven will OOM after exhausting PermGen. The getting started instructions page
should be updated to increase PermGen size before building.

{{export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m"}}

{{
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at org.eclipse.sisu.inject.MildElements.iterator(MildElements.java:74)
	at org.eclipse.sisu.inject.RankedBindings.remove(RankedBindings.java:68)
	at org.eclipse.sisu.inject.InjectorBindings.unsubscribe(InjectorBindings.java:96)
	at org.eclipse.sisu.inject.RankedBindings.remove(RankedBindings.java:117)
	at org.eclipse.sisu.inject.DefaultBeanLocator.remove(DefaultBeanLocator.java:122)
	at org.eclipse.sisu.inject.DefaultBeanLocator.remove(DefaultBeanLocator.java:156)
	at org.eclipse.sisu.plexus.ClassRealmManager.realmDisposed(ClassRealmManager.java:156)
	at org.codehaus.plexus.classworlds.ClassWorld.disposeRealm(ClassWorld.java:100)
	at org.apache.maven.plugin.DefaultExtensionRealmCache.flush(DefaultExtensionRealmCache.java:150)
	at org.apache.maven.plugin.DefaultExtensionRealmCache.dispose(DefaultExtensionRealmCache.java:167)
	at org.eclipse.sisu.plexus.PlexusLifecycleManager.dispose(PlexusLifecycleManager.java:373)
	at org.eclipse.sisu.plexus.PlexusLifecycleManager.unmanage(PlexusLifecycleManager.java:173)
	at org.codehaus.plexus.DefaultPlexusContainer.dispose(DefaultPlexusContainer.java:590)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:313)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message