Investigating Tomcat high memory and CPU usage with N4V for Webi
Anonymised summary of support ticket #597450 (2022-04-01)
Symptom
Tomcat process consumes excessive memory and CPU resources, particularly in the old generation heap. The issue appears after installing or using N4V for Webi components.
Environment
SAP BusinessObjects Web Intelligence environment with N4V for Webi extensions deployed. Tomcat server used for static content and custom element rendering.
Resolution
Verify if the issue is related to static content serving by checking Tomcat logs for requests to the N4V static files directory.
Check SAP BusinessObjects Webi logs for errors during custom element rendering, as Tomcat may be impacted by client-side processing in the browser.
Review the browser console for errors when large datasets are processed by N4V components, as excessive data may cause client-side performance issues.
Examine the Tomcat configuration (e.g., heap size, garbage collection settings) to ensure it is properly sized for the workload.
Test if the issue occurs consistently or only under specific conditions (e.g., large reports, specific user actions).
Other resolution
If the issue persists, consider limiting the maximum number of lines processed by N4V components in the configuration file (e.g., config_charts.js) to reduce client-side load.