lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aniljayanti <anil.jaya...@gmail.com>
Subject want to get Alert while “java.lang.OutOfMemoryError: PermGen space” error coming in SOLR Generation
Date Fri, 07 Dec 2012 04:32:39 GMT
Hi,

Im generating SOLR using SOLR 3.3, Apache Tomcat 7.0.19. Some times my
Tomcat get hanged giving below error in log.


SEVERE: Full Import
failed:org.apache.solr.handler.dataimport.DataImportHandlerException:
java.lang.OutOfMemoryError: PermGen space
    at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:664)
    at
org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:267)
    at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:186)
    at
org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:359)
    at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:427)
    at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:408)
Caused by: java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)


i have given below memory size. 

--JvmMs 2048 --JvmMx 3096 -XX:MaxPermSize=1024m

So i want to get ALERT when ever SOLR strucked or gives OutOfMemory.

Thanks in Advance.

AnilJayanti.




--
View this message in context: http://lucene.472066.n3.nabble.com/want-to-get-Alert-while-java-lang-OutOfMemoryError-PermGen-space-error-coming-in-SOLR-Generation-tp4025011.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message