lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Snehal Chennuru <snehal.ku...@gmail.com>
Subject Re: JRockit with SOLR3.4/3.5
Date Sat, 08 Sep 2012 23:29:17 GMT
I am running into a similar issue with Lucene 3.6 which I believe is used in
Solr 3.4.

Following is the exception stack trace:

2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) Exception in thread
"Load thread" java.lang.OutOfMemoryError: classblock allocation, 2814576
loaded, 2816K footprint, in check_alloc
(src/jvm/model/classload/classalloc.c:215).

Attempting to allocate 4320M bytes

There is insufficient native memory for the Java
Runtime Environment to continue.

Possible reasons:
  The system is out of physical RAM or swap space
  In 32 bit mode, the process size limit was hit

Possible solutions:
  Reduce memory load on the system
  Increase physical memory or swap space
  Check if swap backing store is full
  Use 64 bit Java on a 64 bit OS
  Decrease Java heap size (-Xmx/-Xms)
  Decrease number of Java threads
  Decrease Java thread stack sizes (-Xss)
  Disable compressed references (-XXcompressedRefs=false)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.lang.ClassLoader.defineClass1(Native Method)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.lang.ClassLoader.defineClass(ClassLoader.java:615)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.net.URLClassLoader.access$000(URLClassLoader.java:58)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.net.URLClassLoader$1.run(URLClassLoader.java:197)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.Category.callAppenders(Category.java:206)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.Category.forcedLog(Category.java:391)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
org.apache.log4j.Category.warn(Category.java:1060)
2012-09-08 18:08:56,341 WARN  [STDERR] (Load thread:) 	at
com.teneo.esa.common.util.Logger.printStack(Logger.java:584)

JVM details: 
Jrockit R28.2.3, Xms4320m, Xmx4320m. 

The code under question is trying to fetch all the documents one at a time
from the index. Does this have any problems? 



--
View this message in context: http://lucene.472066.n3.nabble.com/JRockit-with-SOLR3-4-3-5-tp3995148p4006389.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message