Title:
Bug 75508:When indexing a solr (or lucene) collection that contains between 1300 and 9000 text files, the indexing fails with a logged error of: "Error","jrpp-6","02/15/09","11:04:06",,"Java heap space The spec
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Tomas Fjetland / Tomas Fjetland (TomasFjetland)
Created: 02/15/2009
Components: Text Search, Solr
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,216113 / 222457
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
When indexing a solr (or lucene) collection that contains between 1300 and 9000 text files, the indexing fails with a logged error of: "Error","jrpp-6","02/15/09","11:04:06",,"Java heap space The specific sequence of files included or processed is: (path to file containing cfindex code)"
A collection containing 1300 text files worked just fine, but a collection that would hold 9000 files fails to index.
Both collections are on the same network share.
Both work fine in Verity collections on a CF8 server.
Method:
create a solr collection.
have a share with 9000 smallish (~20KB) text files, let's say .log
<cfindex collection="Logs" action="refresh" extensions=".log" key="\\ReadyNAS2\Log_Directories\Upload" type="path" urlpath="\\ReadyNAS2\Log_Directories\Upload" recurse="yes" language="english" status="Logstat">
Result:
"Error","jrpp-6","02/15/09","11:04:06",,"Java heap space The specific sequence of files included or processed is: C:\Inetpub\wwwroot\indexer.cfm, line: 12 "
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
at java.lang.StringBuffer.append(StringBuffer.java:320)
at java.io.StringWriter.write(StringWriter.java:60)
at org.apache.solr.common.util.XML.escape(XML.java:180)
at org.apache.solr.common.util.XML.escapeCharData(XML.java:78)
at org.apache.solr.common.util.XML.writeXML(XML.java:148)
at org.apache.solr.client.solrj.util.ClientUtils.writeXML(ClientUtils.java:117)
at org.apache.solr.client.solrj.request.UpdateRequest.getXML(UpdateRequest.java:169)
at org.apache.solr.client.solrj.request.UpdateRequest.getContentStreams(UpdateRequest.java:160)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:191)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:48)
at coldfusion.tagext.search.SolrUtils.addDocument(SolrUtils.java:784)
at coldfusion.tagext.search.IndexTag.doUpdate(IndexTag.java:349)
at coldfusion.tagext.search.IndexTag.doStartTag(IndexTag.java:265)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2712)
at cfindexer2ecfm402868334.runPage(C:\Inetpub\wwwroot\indexer.cfm:12)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:214)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:295)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037555
External Customer Info:
External Company:
External Customer Name: Tomas Fjetland
External Customer Email: 599872CD4866EA489920154A
External Test Config: 02/15/2009
Attachments:
Comments: