Technical Articles
How to monitor tomcat Heap in Business intelligence platform and Data services
Consideration-
Analytics Solutions like Business intelligence platform ,Data Services and various others use tomcat as web server. Tomcat is java based and use its own memory area for web apps.
Challenges
Many times we come across situation where JVM heap gets used heavily and gets 100% utilized and then its start utilizing native memory.To efficiently size your JVM heap there is this tool jconsole which is offered in sapjvm which is present in business objects executable.
Setting up jconsole on windows
- Login to web server
- Set below 4 property in tomcat Configuration
- Restart tomcat
- Browse to your D:\Business Objects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin and run below command
-
jconsole.exe <hostname>:8008 (Here 8008 is the port that we have set in propoerty)
Setting up jconsole on unix
File in question in unix
Data service –
Location of jconsole
/opt/bobj/D4P/sap_bobj/enterprise_xi40/linux_x64/sapjvm/bin/
Location of bobjenv.sh
/opt/bobj/D4P/sap_bobj/tomcat/bin
If there are any questions feel free to write
Hi Siddhesh,
thanks for posting this, it is quite helpful for an issue I am troubleshooting with a client. Can you expand upon how heap memory interacts with the metaspace in Tomcat 8? Are they related or separate?
thanks
Keith