OBI11g irregularly crashing with java.lang.OutOfMemoryError: Java heap space — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBI11g irregularly crashing with java.lang.OutOfMemoryError: Java heap space

Question
1
Views
0
Comments
kzane
kzane Rank 4 - Community Specialist

Hi everyone,

my OBI 11g server crashes irregularly - once per month or so. Since this crash doesn't occur often or during development (but during 'normal' use) and there's quite a few users using it so it is pretty much impossible to find out from user side what would be the cause for the crash.

In bi_server1.log I get this error at the exact time of the crash:

WatchRuleType: Log

WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))

WatchData: DATE = 10.06.2016 10:14 Uhr CEST SERVER = bi_server1 MESSAGE = ExecuteRequest failed

java.lang.OutOfMemoryError: Java heap space.

java.lang.OutOfMemoryError: Java heap space

    at com.ibm.oti.vm.VM.getClassNameImpl(Native Method)

    at com.ibm.oti.vm.AbstractClassLoader.getPackageName(AbstractClassLoader.java:372)

    at com.ibm.oti.vm.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:65)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:650)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:652)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:626)

    at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:928)

    at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:925)

    at java.security.AccessController.doPrivileged(AccessController.java:228)

    at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:924)

    at java.util.ResourceBundle.processGetBundle(ResourceBundle.java:313)

    at java.util.ResourceBundle.getBundle(ResourceBundle.java:276)

    at java.util.ResourceBundle.getBundle(ResourceBundle.java:217)

    at sun.util.resources.LocaleData$1.run(LocaleData.java:139)

    at java.security.AccessController.doPrivileged(AccessController.java:228)

    at sun.util.resources.LocaleData.getBundle(LocaleData.java:137)

    at sun.util.resources.LocaleData.getTimeZoneNames(LocaleData.java:109)

    at sun.util.TimeZoneNameUtility.getBundle(TimeZoneNameUtility.java:127)

    at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:92)

    at java.util.TimeZone.getDisplayNames(TimeZone.java:410)

    at java.util.TimeZone.getDisplayName(TimeZone.java:361)

    at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1127)

    at java.text.SimpleDateFormat.format(SimpleDateFormat.java:916)

    at java.text.SimpleDateFormat.format(SimpleDateFormat.java:886)

    at java.text.DateFormat.format(DateFormat.java:327)

    at weblogic.utils.string.SimpleCachingDateFormat.format(SimpleCachingDateFormat.java:42)

    at weblogic.utils.string.CachingDateFormat.getDate(CachingDateFormat.java:94)

    at weblogic.servlet.internal.ResponseHeaders.setDate(ResponseHeaders.java:326)

    at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1142)

    at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:281)

    at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:118)

    at weblogic.servlet.internal.ServletOutputStreamImpl.commit(ServletOutputStreamImpl.java:480)

    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1512)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

From this message it is apparent that it is a java heap space error. But I don't want to just blindly increase the java heap space... is there any way to find out what exactly is causing this error and subsequently crashing the server?

Any help or tips on how to resolve this are appreciated.

Thank you