OPP-java.lang.OutOfMemory
程序员文章站
2024-03-23 18:28:28
...
文档ID:978495.1
Applies to:
BI Publisher (formerly XML Publisher) - Version 12.0 to 12.1 [Release 12.0 to 12.1]
BI Publisher (formerly XML Publisher) - Version 5.6.3 to 5.6.3 [Release 5]
Information in this document applies to any platform.
Checked for relevance on 10-MAR-2013
Goal
Setup Output Post Processor when reports intermittently complete with warnings and java.lang.OutOfMemoryError during peak utilization periods.
Solution
1. For OPP Memory and Processes Error:
Memory:
If you receive intermittent error message:
java.lang.OutOfMemoryError
then increase the Java heap memory to -mx1024m or -mx1536m or even -mx2048m.
Default value is:
J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m
which may not be sufficient.
a. Bring down the concurrent managers.
b. Use the Update statement below, for example:
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');
c. Please run the Concurrent Manager Recovery feature to address any Concurrent Manager / Concurrent Processing issues within the Oracle Application Manager.
NOTE: Regular use of the CP Analyzer in Note 1411723.1 can provide an Immediate Analysis and Output of a Concurrent Environment.
d. Bring concurrent managers up again.
“正在执行请求完成选项...
+------------- 1) PUBLISH -------------+ 节点 FIN1 上的请求 2988497 于 11-10-2011 13:51:44 开始进行后期处理。 请求 2988497 的后期处理于 11-10-2011 13:57:44 失败,并显示错误消息: 输出提交处理程序正在运行,但尚未获得此请求。 将不再尝试进行此请求的后期处理,并且将该请求标记 为“警告”状态。 必须将配置文件选项“并发:OPP 响应超时”设置为更大的值。 +--------------------------------------+”
查看“输出提交处理程序”管理器,其状态为“有效”。进一步打开其日志,发现如下消息:
[10/11/11 11:46:51 AM] [UNEXPECTED] [324726:RT2987041] java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1265.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:566) at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:231) at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182) at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044) at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997) at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212) at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665) at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975) at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926) at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458) at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547) at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290) at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157) Caused by: java.lang.OutOfMemoryError
重启““输出提交处理程序“管理器。
通过metalink,查询关键字“OPP Response Timeout”,会发现文档978495.1.对于java.lang.OutOfMemoryError给出如下解决方案: