Red Hat Bugzilla – Bug 843091
Guvnor/Jackrabbit getting OutOfMemoryError when using a Oracle repository in Tomcat
Last modified: 2013-04-29 23:22:54 EDT
Created attachment 600316 [details]
The OutOfMemoryError stack trace.
Description of problem:
When using a Oracle DB as the backend to Jackrabbit for the repository. I'm getting an OutOfMemoryError: Java heap space. This is happening even when I use -Xmx1024m.
Version-Release number of selected component (if applicable):
Start Guvnor in Tomcat using a Oracle database as the repository storage. Use the attached settings.
Oracle JDBC driver 184.108.40.206
Steps to Reproduce:
1. Prep an empty database schema for the repository.
2. Edit context.xml to add the global datasource to the repository. See attachment.
3. Edit catalina.bat to set the JAVA_OPTS to have -Xmx1024m -XX:MaxPermSize=512m.
4. Change the repository.xml to enable Oracle repository and clustering. See attachment.
BRMS throws OutOfMemoryError while starting up, see attachment for stack trace.
BRMS starts up correctly.
Created attachment 600317 [details]
The context.xml containing the data source.
Created attachment 600318 [details]
The repository.xml configured to use Oracle and clustering
Created attachment 600321 [details]
The Oracle JDBC driver
Please confirm that this is a real issue. (See comment 4 for details.)