Jump to content
Changes to the Jaspersoft community edition download ×

Out of swap space?


sendarnav

Recommended Posts

I am getting out of sweep error when running 23 simultanous reports. The follwing is the error

#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 65536000 bytes for GrET in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?
#
#  Internal Error (allocation.inline.hpp:39), pid=6376, tid=177642384
#  Error: GrET in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/utilities/growableArray.cpp
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot Server VM (16.0-b13 mixed mode linux-x86 )
# An error report file with more information is saved as:
# /apps03/jasper/apache-tomcat/bin/hs_err_pid6376.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

The following is my memory setting

export JAVA_OPTS="$JAVA_OPTS -Xms3072m -Xmx3072m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
export JAVA_OPTS="$JAVA_OPTS -Djavax.xml.soap.MessageFactory=org.apache.axis.soap.MessageFactoryImpl -Djavax.xml.soap.SOAPConnectionFactory=org.apache.axis.soap.SOAPConnectionFactoryImpl -Djavax.xml.soap.SOAPFactory=org.apache.axis.soap.SOAPFactoryImpl -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"

and Iam giving 15 as thread count and  1800000(30 minuets) as misfire threshold to make job wait in case long running reports

org.quartz.threadPool.threadCount=15
org.quartz.threadPool.threadPriority=5
org.quartz.jobStore.misfireThreshold=1800000

and using database pool size as 20.
 

What is idea configuration to make 50 job to run simultanously in that 10 will be long running.

Any help is appreciated

 

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...