Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

java.lang.OutOfMemoryError: GC overhead limit exceeded

$
0
0
Hello everyone,

I've successfully managed to install the Pentaho Business Analytics Platform (CE) on my ubuntu instance in the AWS-Cloud.
I'm using MySQL as database for the biserver on the same instance and running my reports against another MySQL-DB running on another instance.
My server runs Oracle Java 8.

I've written a report in Pentaho Report Designer which works locally when I run it against a Test-Database with less data in it.
Now I've uploaded it to my biserver and try to run it from there (against my production Database with much more data in it).

Unfortunately I get this error after some time and the report never gets executed successfully:

Code:

14-Jul-2016 08:33:08.916 SEVERE [http-nio-8080-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint$Acceptor.run
 java.lang.OutOfMemoryError: GC overhead limit exceeded
        at sun.nio.ch.SocketOptionRegistry.findOption(SocketOptionRegistry.java:81)
        at sun.nio.ch.Net.setSocketOption(Net.java:320)
        at sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:190)
        at sun.nio.ch.SocketAdaptor.setIntOption(SocketAdaptor.java:281)
        at sun.nio.ch.SocketAdaptor.setSoLinger(SocketAdaptor.java:316)
        at org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:202)
        at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:533)
        at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:697)
        at java.lang.Thread.run(Thread.java:745)


14-Jul-2016 08:33:08.916 SEVERE [http-nio-8080-ClientPoller-1] org.apache.tomcat.util.net.NioEndpoint$Poller.run
 java.lang.OutOfMemoryError: Java heap space
        at org.apache.tomcat.util.net.NioEndpoint.reclaimParachute(NioEndpoint.java:300)
        at org.apache.tomcat.util.net.NioEndpoint.checkParachute(NioEndpoint.java:285)
        at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1077)
        at java.lang.Thread.run(Thread.java:745)


java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:300)
        at java.lang.StringCoding.encode(StringCoding.java:344)
        at java.lang.String.getBytes(String.java:918)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
        at java.io.File.exists(File.java:819)
        at org.apache.felix.utils.properties.Properties.<init>(Properties.java:106)
        at org.apache.felix.utils.properties.Properties.<init>(Properties.java:96)
        at org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport$1.run(AutoEncryptionSupport.java:63)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
08:33:09,215 ERROR [SimpleReportingAction] [Ausführen] Ausführung der Komponente fehlgeschlagen
java.lang.OutOfMemoryError: GC overhead limit exceeded

I've already updated my start-pentaho-debug.sh with --XX:MaxPermSize=2048m.

The arguments in my start-pentaho-debug.sh file look like this:
Code:

CATALINA_OPTS="-Xms2048m -Xmx6144m  -XX:MaxPermSize=2048m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8044 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=utf8 -DDI_HOME=\"$DI_HOME\" -Dh2.bindAddress=localhost -Djava.awt.headless=true"
I've also tried using the -XX:MaxMetaspaceSize flag, but without success.

Also, during (and after the crash) the website stucks and gets unusable for other users which are trying to navigate on it.

Anyone expecting the same problems?:confused:
Any hints what to do?:confused: Please help me.

Regards
WTTom

Viewing all articles
Browse latest Browse all 16689


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>