If the crawler collects data from many folders, you might need to increase the Java™ heap size to avoid out of memory errors. For FileNet P8, this requirement applies when the crawler is configured to
crawl folder spaces, not class spaces.
Procedure
To adjust the Java heap size:
-
Log in as the default Watson Explorer Content Analytics administrator on the
crawler server.
On a Windows 2008 server, you must log in as the
Windows Administrator.
-
Stop the Watson Explorer Content Analytics system:
-
Edit the
ES_NODE_ROOT/master_config/collectionID_config.ini
file for the collection that the crawler belongs to. Find the crawler session entries and
change the max_heap parameter from 512 to 1024.
For
example:
session1.collectionid=col_27716
session1.configDir=col_27716.ADAPTER_85355
session1.description=
session1.displayname=Case Manager crawler 1
session1.domain=.
session1.flags=0
session1.id=col_27716.ADAPTER_85355
session1.init_heap=16
session1.max_heap=1024
session1.nodeid=node1
session1.sectiontype=session
session1.subtype=ADAPTER
session1.type=crawler
-
Restart the Watson Explorer Content Analytics system: