[hibernate-dev] hot to avoid build error "OutOfMemoryError: PermGen space" for ":documentation:asciidoctor"

Steve Ebersole steve at hibernate.org
Sat Nov 23 21:38:34 EST 2013


Sorry.  Hit send too soon.  Yes we have known of this issue.  The ljnk
above is to the discussion I started on the asciidoctor list.  I will try
their work around monday.
On Nov 23, 2013 8:37 PM, "Steve Ebersole" <steve at hibernate.org> wrote:

> http://discuss.asciidoctor.org/Gradle-plugin-and-permgen-td1040.html#a1069
> On Nov 23, 2013 2:11 PM, "Scott Marlow" <smarlow at redhat.com> wrote:
>
>> Has anyone seen the below error doing a "./gradlew build
>> :release:distZip"?
>>
>> Is there a way to skip building ":documentation:asciidoctor" during a
>> release?
>>
>> Build error:
>>
>> "
>> ':documentation:asciidoctor'.
>>  > Could not initialize class org.jruby.runtime.backtrace.FrameType
>>
>> * Try:
>> Run with --stacktrace option to get the stack trace. Run with --info or
>> --debug option to get more log output.
>>
>> BUILD FAILED
>>
>> Total time: 1 hrs 9 mins 52.22 secs
>> 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: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 java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>         at
>>
>> org.gradle.launcher.bootstrap.EntryPoint.createCompleter(EntryPoint.java:61)
>>         at
>> org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:52)
>>         at org.gradle.launcher.Main.main(Main.java:37)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>         at
>>
>> org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
>>         at
>>
>> org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
>>         at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>         at
>>
>> org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
>>         at
>> org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
>>         at
>> org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:58)
>> Build step 'Execute shell' marked build as failure
>> "
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>


More information about the hibernate-dev mailing list