I just installed Servoy 6.0 (final release) on a new laptop and every build operation which I do results in the following error:
- Code: Select all
An internal error occurred during: "Building".
GC overhead limit exceeded
The attached screen shots are from the two dialog windows which popup when that error occurs.
The "out of memory" issue is quite strange, because my servoy.ini file is modified to to allocate 1024MB for the JVM heap. Here is what it looks like:
- Code: Select all
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
--launcher.XXMaxPermSize
256m
-vmargs
-Xms256m
-Xmx1024m
-XX:MaxPermSize=256M
This is one of the "out of memory" errors in the log file which appears several times. There are "out of memory" errors in other places as well:
- Code: Select all
!ENTRY org.eclipse.core.jobs 4 2 2011-08-08 14:36:30.865
!MESSAGE An internal error occurred during: "Building workspace".
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.antlr.runtime.tree.CommonTreeAdaptor.create(CommonTreeAdaptor.java:27)
at org.antlr.runtime.tree.BaseTreeAdaptor.nil(BaseTreeAdaptor.java:7)
at org.eclipse.dltk.javascript.parser.JSParser.primaryExpression(JSParser.java:1943)
at org.eclipse.dltk.javascript.parser.JSParser.memberExpression(JSParser.java:3213)
at org.eclipse.dltk.javascript.parser.JSParser.leftHandSideExpression(JSParser.java:3524)
at org.eclipse.dltk.javascript.parser.JSParser.postfixExpression(JSParser.java:4380)
at org.eclipse.dltk.javascript.parser.JSParser.unaryExpression(JSParser.java:4561)
at org.eclipse.dltk.javascript.parser.JSParser.multiplicativeExpression(JSParser.java:4996)
at org.eclipse.dltk.javascript.parser.JSParser.additiveExpression(JSParser.java:5091)
at org.eclipse.dltk.javascript.parser.JSParser.shiftExpression(JSParser.java:5186)
at org.eclipse.dltk.javascript.parser.JSParser.relationalExpression(JSParser.java:5281)
at org.eclipse.dltk.javascript.parser.JSParser.equalityExpression(JSParser.java:5474)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseANDExpression(JSParser.java:5664)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseXORExpression(JSParser.java:5840)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseORExpression(JSParser.java:6016)
at org.eclipse.dltk.javascript.parser.JSParser.logicalANDExpression(JSParser.java:6192)
at org.eclipse.dltk.javascript.parser.JSParser.logicalORExpression(JSParser.java:6368)
at org.eclipse.dltk.javascript.parser.JSParser.conditionalExpression(JSParser.java:6548)
at org.eclipse.dltk.javascript.parser.JSParser.assignmentExpression(JSParser.java:6731)
at org.eclipse.dltk.javascript.parser.JSParser.expression(JSParser.java:6963)
at org.eclipse.dltk.javascript.parser.JSParser.leftHandSideExpression(JSParser.java:3629)
at org.eclipse.dltk.javascript.parser.JSParser.postfixExpression(JSParser.java:4380)
at org.eclipse.dltk.javascript.parser.JSParser.unaryExpression(JSParser.java:4561)
at org.eclipse.dltk.javascript.parser.JSParser.multiplicativeExpression(JSParser.java:4996)
at org.eclipse.dltk.javascript.parser.JSParser.additiveExpression(JSParser.java:5091)
at org.eclipse.dltk.javascript.parser.JSParser.shiftExpression(JSParser.java:5186)
at org.eclipse.dltk.javascript.parser.JSParser.relationalExpression(JSParser.java:5281)
at org.eclipse.dltk.javascript.parser.JSParser.equalityExpression(JSParser.java:5474)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseANDExpression(JSParser.java:5664)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseXORExpression(JSParser.java:5840)
at org.eclipse.dltk.javascript.parser.JSParser.bitwiseORExpression(JSParser.java:6016)
at org.eclipse.dltk.javascript.parser.JSParser.logicalANDExpression(JSParser.java:6192)
The build takes quite a long time before failing with the above error. The machine where this happens is a Windows 7 64-bit. The same identical configuration of the Servoy Developer and the same workspace builds fine on another Windows 7 64-bit machine. The difference between the two laptops is that the one which always fails has a quad-core i7 processor, SSD and fast RAM chips, where the older laptop is considerably slower. Both machines run the same OS. The Servoy 6 was "clean installed" on both laptops.
After poking around on the net, there was a reference here (http://www.petefreitag.com/item/746.cfm) to using the following GC setting:
- Code: Select all
-XX:+UseConcMarkSweepGC
This seemed to help a bit (at least I am not getting the error every time), but still the build issues are quire persistent.
Has anyone else encountered similar issues and is there any solution to resolving them?
Any help on this is greatly appreciated.