Table of Contents

Need4Viz components out of memory: troubleshooting and resolution

Anonymised summary of support ticket #265212 (2022-05-31)

Symptom

Need4Viz components experience memory saturation leading to crashes and potential impact on SAP BusinessObjects Web Intelligence (Webi) platform stability. Symptoms include high memory usage in 'Modified' state retained by the process, MongoDB-related errors in logs, and service interruptions.

Environment

Need4Viz for Webi (N4V) with MongoDB backend. Observed on SAP BusinessObjects Web Intelligence platform. Services managed via PM2 process manager on Windows.

Resolution

  1. Stop all N4V services using the provided PowerShell script (e.g., Need4Viz/scripts/stop_Need4Viz.ps1).
  2. Verify PM2 services with command 'pm2 list' to ensure only 'pm2-logrotate' remains active.
  3. Kill all remaining PM2 processes using 'pm2 kill'.
  4. Restart MongoDB service via Windows Services console.
  5. Restart N4V services using the provided PowerShell script (e.g., Need4Viz/scripts/start_Need4Viz.ps1).
  6. Verify all N4V services are running and in 'online' status using 'pm2 list'.

Other resolution

Recommended memory allocation for N4V components: 40-100 MB per process node and approximately 200 MB for MongoDB service. Total memory footprint under 2 GB for the entire suite. Investigate potential causes such as high-frequency report executions or resource-intensive Webi reports consuming excessive RAM. Regular server restarts may mitigate symptoms but addressing root cause is advised.