вторник, 22 октября 2013 г.

SAP BO 4.1 Error Object failed to run due to an error while processing on the Job Server


 I tried to schedule huge report in CSV and get error:
 Object failed to run due to an error while processing on the Job Server

In addition, i looked at logs:
 ***ERROR (vmError.cpp:2356): java.lang.OutOfMemoryError: Java heap space

Now we need to add addition memory. But here is tricky one because in CMC in properties of Adaptive Job Server we have only one parameter - MaxPermamentSpace:

-javaargs Djava.awt.headless=true,Dcom.businessobjects.mds.cs.ImplementationID=csEX,XX:MaxPermSize=512m,Dbusinessobjects.connectivity.directory=...

We have to add Xmx12g ( i added 12 Gb, but we can start from 2g, 4g)
-javaargs Djava.awt.headless=true,Dcom.businessobjects.mds.cs.ImplementationID=csEX,XX:MaxPermSize=512m,Xmx12g,Dbusinessobjects.connectivity.directory=

Just restart server and schedule report.