Introscope WebView Service is getting stopped automatically and not restarting

Document ID : KB000092392
Last Modified Date : 20/04/2018
Show Technical Document Details
Introscope WebView is configured to run as a Windows Service. Since few days ago, the service has stopped automatically for several times a day, and does not restart itself, as what it used to do. When try to start the service manually, it wouldn't start up completely, or it would stop again immediately.
CA Application Performance Management (APM) 9.x, 10.x
According to WVService.log, it indicated that the service failed to start due to JVM running out of memory. It did try to restart automatically as you can see "Restarting JVM" but the heap is just too low for it to proceed:

STATUS | wrapper | 2018/04/17 10:44:02 | The JVM has run out of memory. Restarting JVM.
INFO | jvm 1 | 2018/04/17 10:44:02 | java.lang.OutOfMemoryError
STATUS | wrapper | 2018/04/17 10:44:02 | The JVM has run out of memory. Restarting JVM.
ERROR | wrapper | 2018/04/17 10:44:03 | JVM exited unexpectedly.
STATUS | wrapper | 2018/04/17 10:44:03 | <-- Wrapper Stopped

If memory resource on the physical server permits, please increase the JVM heap by modifying following properties in the <WebView_Home>\bin\WVService.conf file:

For example, this settings increase the initial heap size to 1024MB and the maximum heap size to 2048MB from the default values:

# Initial Java Heap Size (in MB)

# Maximum Java Heap Size (in MB)

Restart the WebView service after making the changes.
Review and repeat the steps if necessary.

If Introscope WebView is started with Introscope_WebView.exe, the heap setting is configured in the Introscope_WebView.lax file instead.
Additional Information:
Configure and Monitor APM WebView Performance