SAP Knowledge Base Article - Preview

2110003 - Java heap space error in running 'Update Search Index' utility - Information Steward

Symptom

When running the 'Update Search Index' utility, you get the following error:

[E] [MMSearchIndexUtility][main] java.lang.OutOfMemoryError: Java heap space (failed to allocate 190316560 bytes)
[E] [MMSearchIndexUtility][main] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space (failed to allocate 190316560 bytes)
                at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
                at java.util.concurrent.FutureTask.get(FutureTask.java:83)
                at com.bobj.mm.search.MMSearchIndexUtility.reloadIndexes(MMSearchIndexUtility.java:290)
                at com.bobj.mm.search.MMSearchIndexUtility.execute(MMSearchIndexUtility.java:189)
                at com.bobj.mm.utility.Utility.runExecute(Utility.java:454)
                at com.bobj.mm.core.Main.run(Main.java:1301)
                at com.bobj.mm.core.Main.main(Main.java:241)
Caused by: java.lang.OutOfMemoryError: Java heap space (failed to allocate 190316560 bytes)
                at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:145)
                at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:486)
                at j

java.lang.StringBuilder.append(StringBuilder.java:120)

                at com.bobj.mm.sdk.search.RichTextFilter.extractValue(RichTextFilter.java:42)
                at com.bobj.mm.sdk.search.DocumentIndexBuilder$DBObjectDocumentIndexBuilder.addIndexFields(DocumentIndexBuilder.java:116)
                at com.bobj.mm.sdk.search.DocumentIndex.readDocumentObject(DocumentIndex.java:91)
                at com.bobj.mm.search.process.AbstractIndexUtilityListener.insert(AbstractIndexUtilityListener.java:124)
                at com.bobj.mm.search.DocumentScheduler.create(DocumentScheduler.java:131)
                at com.bobj.mm.search.MMSearchIndexUtility$CreateIndexRunnable.call(MMSearchIndexUtility.java:389)
                at com.bobj.mm.search.MMSearchIndexUtility$CreateIndexRunnable.call(MMSearchIndexUtility.java:339)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:743)
[E] [MMSearchIndexUtility][main] Utility failed with code 4. (COR-10020)


Read more...

Environment

SAP Information Steward 4.2

Product

SAP Information Steward 4.2

Keywords

index, IS, java, heap, ADAPT, ADAPT01733266 , KBA , EIM-IS , Information Steward , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.