OutOfMemory Error in Teamcity 6.5.6

I am seeing the following OutOfMemoryErrors in the Teamcity log file. I am deploying TeamCity.war to a Tomcat instance and there is plenty of memory.
Why am I getting this error?


System

======

Solaris Sparc


Java JDK

=======

JDK 1.6.0_26


Heap Setting:

==========

JAVA_OPTS="-server –Xms2048m -Xmx2048m -XX:+DisableExplicitGC -XX:NewRatio=2 -XX:NewSize=64m -XX:PermSize=128m -XX:MaxPermSize=256m"


Error om log file:

=============

java.lang.OutOfMemoryError: OutOfMemoryError likely caused by the Sun VM Bug described in https://issues.apache.org/jira/browse/LUCENE-1566; try calling FSDirectory.setReadChunkSize with a a value smaller than the current chunks size (104857600)

        at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.readInternal(SimpleFSDirectory.java:142)

        at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:136)

        at org.apache.lucene.index.SegmentReader$Norm.bytes(SegmentReader.java:455)

        at org.apache.lucene.index.SegmentReader.getNorms(SegmentReader.java:1068)

        at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:1074)

        at org.apache.lucene.search.TermQuery$TermWeight.scorer(TermQuery.java:72)

        at org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight.scorer(DisjunctionMaxQuery.java:144)

        at org.apache.lucene.search.BooleanQuery$BooleanWeight.scorer(BooleanQuery.java:297)

        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:246)

        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:236)

        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:179)

        at org.apache.lucene.search.Searcher.search(Searcher.java:90)

        at jetbrains.buildServer.serverSide.search.SearchService.search(SearchService.java:340)

        at jetbrains.buildServer.serverSide.search.SearchController.doHandle(SearchController.java:50)

        at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)

        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)

        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:331)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at jetbrains.buildServer.web.DiagnosticFilter.runChainWithModifiedThreadName(DiagnosticFilter.java:60)
        at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:10)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:1)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

Please sign in to leave a comment.