<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Console + Designer = jboss OutOfMemoryError: GC overhead limit exceeded
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/Tomarenz">Renzo Tomaselli</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/620395#620395">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi all, I would like to collect experience/comments on this issue, occurring at random but very often in my case.</p><p>I have just two simple processes in Guvnor, 8 nodes each. One is BPMN2-ExclusiveSplit and the other is very similar.</p><p>The defaultPackage has been successfully built.</p><p>I can either run the Console to list processes, or I can run the Designer to view process definitions, edit them and rebuild the package.</p><p>But as soon as I switch from an application to the other, soon I get a jboss error as reported in the subject.</p><p>From that point on there's no way to proceed until I stop/restart jboss. I tried to logout from both application and to reenter: no way.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I also tried to set -XX:-UseGCOverheadLimit, without any success. Things get blocked soon because of "java.lang.OutOfMemoryError: Java heap space".</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>As an example of a failing sequence:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>- start the designer, select defaultPackage, list processes.</p><p>- open both processes.</p><p>- from the browser go to the rest url /gwt-console-server/rs/process/definitions, getting:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><table><tbody><tr><td style=";">2011-08-10 16:23:34,285 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-3) INFO  10-08 16:23:34,285 (PackageDeploymentServlet.java:execute:144) </td><td style=";"> PackageIsSource: false</td></tr></tbody></table><p>2011-08-10 16:23:36,937 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-2) Loading process from Guvnor: boh</p><p>2011-08-10 16:23:36,937 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-2) Loading process from Guvnor: BPMN2-ExclusiveSplit</p><p>2011-08-10 16:23:42,412 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-2) Loading process from file system: Evaluation.bpmn</p><p>2011-08-10 16:23:55,750 WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (http-localhost%2F127.0.0.1-8080-2) Unexpected error during load of:org.drools.rule.builder.dialect.java.parser.JavaParser$DFA172</p><p>java.lang.OutOfMemoryError: GC overhead limit exceeded</p><table><tbody><tr><td style=";"></td><td style=";">at java.util.Arrays.copyOf(Arrays.java:2786)</td></tr><tr><td style=";"></td><td style=";">at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.plugins.ClassLoaderUtils.readBytes(ClassLoaderUtils.java:212)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.plugins.ClassLoaderUtils.loadByteCode(ClassLoaderUtils.java:148)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:543)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)</td></tr><tr><td style=";"></td><td style=";">at java.security.AccessController.doPrivileged(Native Method)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)</td></tr><tr><td style=";"></td><td style=";">at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)</td></tr><tr><td style=";"></td><td style=";">at java.lang.ClassLoader.loadClass(ClassLoader.java:248)</td></tr><tr><td style=";"></td><td style=";">at org.drools.rule.builder.dialect.java.parser.JavaParser.<init>(JavaParser.java:11723)</td></tr><tr><td style=";"></td><td style=";">at org.drools.rule.builder.dialect.java.parser.JavaParser.<init>(JavaParser.java:219)</td></tr><tr><td style=";"></td><td style=";">at org.drools.rule.builder.dialect.java.JavaExprAnalyzer.analyzeBlock(JavaExprAnalyzer.java:90)</td></tr><tr><td style=";"></td><td style=";">at org.drools.rule.builder.dialect.java.JavaDialect.analyzeBlock(JavaDialect.java:258)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.process.builder.dialect.java.JavaActionBuilder.build(JavaActionBuilder.java:56)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.process.builder.ExtendedNodeBuilder.buildAction(ExtendedNodeBuilder.java:40)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.process.builder.ExtendedNodeBuilder.build(ExtendedNodeBuilder.java:29)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.process.builder.EventBasedNodeBuilder.build(EventBasedNodeBuilder.java:19)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.process.builder.WorkItemNodeBuilder.build(WorkItemNodeBuilder.java:18)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.compiler.ProcessBuilderImpl.processNodes(ProcessBuilderImpl.java:215)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.compiler.ProcessBuilderImpl.buildNodes(ProcessBuilderImpl.java:201)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:165)</td></tr><tr><td style=";"></td><td style=";">at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:254)</td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Comments are welcome.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/620395#620395">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>