When trying to schedule some reports, they get failed. If we run the same report in the browser (by refreshing the data) it work. In logs, we find errors like this :
2017 05 11 09:51:43:797|+0200|Error| |>>|E| |jobserver_EICILWP308.AdaptiveJobServer_WebIJavaSchedulingService_CHILD0| 7360|5652|| |42|0|6|0|BIlaunchpad.WebApp|eicilwp308:1088:7195.174392:1|.request|eicilwp308:7360:24.5:1|DestinationWrapper.deliverFilesToDestination|localhost:7360:5652.2:1|CqqtdNTuF0qss3fZJ2XaaeM2a936|||||||||||assert failure: (.\wireob.cpp:1012). (false : Out of memory or unknown type to create!).
Insufficient memory dedicated for Adaptive Job Server
1.Login CMC.
2.Servers->Servers List.
3.Right-click AdaptiveJobServer.
4.Properties.
5.In Command Line Parameters-> You will find there is parameter named MaxPermSize, after the parameter, adding " -Xmxng" as java heap size. For example: Xmx4g.
You can set the "n" according to the system requirement, the default java heap size is -Xmx1g.
After changing parameter, the command line change as below.
-javaargs "Dbusinessobjects.connectivity.directory=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer,Dcom.businessobjects.mds.cs.ImplementationID=csEX,Djava.awt.headless=true,XX:MaxPermSize=192m,Xmxng" -loggingPath "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/logging/" -maxDesktops 0 -jsTypeDescription "Crystal Reports Job Server" -objectType CrystalEnterprise.Report