問題: XML publisher report增加欄位後, 出現error:
java.lang.OutOfMemoryError: unable to create new native thread
查到有個設定可調:
REPORTS_JVM_OPTIONS="-Xms256M -Xmx2048M"
export REPORTS_JVM_OPTIONS
export REPORTS_JVM_OPTIONS
但改了出現另一個問題:
stat_low = 8B
stat_high = 0
emsg:was terminated by signal 11
stat_high = 0
emsg:was terminated by signal 11
這問題就奇怪了, 有篇文章說是系統裡有Riverbed monitoring agent造成, 但與實際狀況不符.
再改了設定:
REPORTS_JVM_OPTIONS="-Xmx2048M"
報表直接就掛了:
Error occurred during initialization of VM
因為只有一個參數, 不需要加雙引號.
再查了查:
-Xms : 起始所用記憶體
-Xmx : 最大可用記憶體
至於單位可以是K、M、G .
參數弄清楚了, 報表問題還是無解.
Ref:
1.Fusion Middleware Publishing Reports to the Web with Oracle Reports Services
https://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_rfap001.htm#RSPUB23916
https://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_rfap001.htm#RSPUB23916
2.Debugging Reports Server Engine on Solaris
https://oraforms.blogspot.com/2009/07/debugging-reports-server-engine-on.html
https://oraforms.blogspot.com/2009/07/debugging-reports-server-engine-on.html
3.Oracle Application Server Reports Services Publishing Reports to the Web
http://aurumtecnologia.com.br/index.php/oracle-application-server-reports-services/
http://aurumtecnologia.com.br/index.php/oracle-application-server-reports-services/
4.-Xms256m -Xmx256m
https://blog.csdn.net/qq_30505673/article/details/84992068
https://blog.csdn.net/qq_30505673/article/details/84992068
5.What are the -Xms and -Xmx parameters when starting JVM?
https://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvm
https://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvm
6.请问这个-Xms256m -Xmx1024m到底是什么意思,请详细给我讲解一下
https://zhidao.baidu.com/question/712440742664116845.html
https://zhidao.baidu.com/question/712440742664116845.html
7.Java修改JVM記憶體大小整理。(java heap space 解決方案)
8.java.lang.OutOfMemoryError: unable to create new native thread问题排查以及当前系统最大进程数量
https://www.jqhtml.com/58796.html
https://www.jqhtml.com/58796.html
9.解決 – java.lang.OutOfMemoryError: unable to create new native thread
https://www.itread01.com/p/1331658.html
https://www.itread01.com/p/1331658.html
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。