Patron Purge Java heap space error
- Article Type: General
- Product: Voyager
- Product Version: 8.2.0
Problem Symptoms
When running Patron Purge circjob 39, this error message occurs:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:85) at sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:37) at sun.util.calendar.ZoneInfo.getOffset(ZoneInfo.java:389)
Cause
Out of java memory
Resolution
- Edit
/m1/voyager/xxxdb/sbin/PpatronPrg
- Uncomment the first line below
- Comment out the second line
Before:
#JAVA_OPTS="-Xms32m -Xmx32m -XX:+UseParNewGC -Dfile.encoding=UTF-8" JAVA_OPTS="-XX:+UseParNewGC -Dfile.encoding=UTF-8"
After:
JAVA_OPTS="-Xms32m -Xmx32m -XX:+UseParNewGC -Dfile.encoding=UTF-8" #JAVA_OPTS="-XX:+UseParNewGC -Dfile.encoding=UTF-8"
- Article last edited: 08-Oct-2013