Java Heap Space error in CMS Collector for BODS

I was running the metadata collector against our BOE environment, and it ran for a while, and eventually died with messages like this:


WebI document [IAT installed base research]. Java heap space
WebI document [IAT installed base research]. Collection failed. Correct errors indicated in the log and rerun the integrator.
WebI document [IAT installed base research]. Java heap space
WebI document [IAT installed base research]. Collection failed. Correct errors indicated in the log and rerun the integrator.
WebI document [AAAA_TEST]. Start collection for Web Intelligence Document.
WebI document [AAAA_TEST]. Java heap space
WebI document [AAAA_TEST]. Collection failed. Correct errors indicated in the log and rerun the integrator.
WebI document [AAAA_TEST]. Java heap space
WebI document [AAAA_TEST]. Collection failed. Correct errors indicated in the log and rerun the integrator.
WebI document [Active_MATLAB_With_ImageProc]. Start collection for Web Intelligence Document.

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
C:\Program Files\Business Objects\BusinessObjects Data Services\ext\cmsCollector

I am running the collector from my desktop PC, which has BODS, BOE Designer/deski and the BOE SDK installed on it. (We don’t have a single server with all of these components installed in the same place, at the moment.) Normally this works fine.

How do I increase the heap space available for this process?

thanks.


dnewton :us: (BOB member since 2004-01-30)

if you are running the Metadata Integrator from BOE CMS, then Metadata Integrator is added as Program Object in CMS, check the properties/command that is getting executed for this program object, by default -Xms128m -Xmx512m are passed as memory args, change these values to -Xms256m -Xmx1024m

if you are directly running the cmsCollector.cmd script from %LINK_DIR%\ext\cmsCollector then pass the arguments to this script from the command line

cmsCollector.cmd “Metadata Integrator_1” -Xms256m -Xmx1024m


manoj_d (BOB member since 2009-01-02)

That worked - thanks.


dnewton :us: (BOB member since 2004-01-30)