when we ran any request for pdf or xml getting error :
======================================================================
Error occurred during initialization of VM
Could not reserve enough space for object heap
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
oracle.apps.xdo.oa.cp.JCP4XDODataEngine
Program exited with status 1
====================================================
Solution : go Concurrent Manager ->Administrator
Output Post Processor restart and activate
or
a)
SELECT xcp.xdo_cfg_name "Property",DECODE (TO_CHAR (xcv.config_level),'10', 'Site','30', 'DataSource','50', 'Template','???')"Level",DECODE (TO_CHAR (xcv.config_level),'10', '','30', xd.application_short_name || '|' || xd.data_source_code,
'50', xt.application_short_name || '|' || xt.template_code,
'???') "Context",DECODE (TO_CHAR (xcv.config_level),'10', '','30',
xd.data_source_name,'50', xt.template_name,'???') "Context Details",xcv.VALUE
FROM xdo_config_values xcv, xdo_ds_definitions_vl xd,xdo_templates_vl xt,xdo_config_properties_b xcp
WHERE xcp.property_code = xcv.property_code
AND xd.application_short_name(+) = xcv.application_short_name
AND xd.data_source_code(+) = xcv.data_source_code
AND xt.application_short_name(+) = xcv.application_short_name
AND xt.template_code(+) = xcv.template_code
ORDER BY xcv.config_level;
b)
select
DEVELOPER_PARAMETERS
from FND_CP_SERVICES
where SERVICE_ID = (select
MANAGER_TYPE from FND_CONCURRENT_QUEUES
where CONCURRENT_QUEUE_NAME =
'FNDCPOPP');
ANS:J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m
and update
3.1 Increase Java heap size for the OPP to higher value. The maximum is 2048MB
(2GB).
UPDATE fnd_cp_services
SET developer_parameters ='J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx1024m
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues WHERE concurrent_queue_name = 'FNDCPOPP');
Note This update will override the default -Xms384m setting for the JVM as defined by AFJSMARG environment variable in the Apps environment file.
$ echo $AFJSMARG
-server -Xmx384m
-XX:NewRatio=2 -XX:+UseSerialGC
-Doracle.apps.fnd.common.Pool.leak.mode=stderr:off -verbose:gc