Below Java Heap errors found in the BCA-Networks.log file.
PM org.apache.coyote.AbstractProtocol startAsyncTimeout SEVERE: Error processing async timeouts java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.base/java.util.concurrent.FutureTask.report(Unknown Source) at java.base/java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.coyote.AbstractProtocol.startAsyncTimeout(AbstractProtocol.java:609) at org.apache.coyote.AbstractProtocol$1.run(AbstractProtocol.java:592) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space ====================================== |
Change Maximum Memory by re-running installer.
Reference- https://docs.bmc.com/docs/networkautomation/2108/performance-tuning-1024034797.html?src=search Maximum Memory Allocation: The maximum amount of memory that the
software process will use. The following table is an estimate of the setting for initial and maximum memory based on number of devices. The actual values depend on how your system is used; if needed, these values can be adjusted later. If your system will manage more than 1000 devices, set the recommended memory values specified in this table: Number of Devices Initial Memory Maximum Memory < 1000 (default) 1024 MB 2048 MB 1000-5000 1024 MB 4096 MB >5000 1024 MB 16,384 MB *BCAN 5.2.01 for windows has a MAX of 1448MB*
***Note*** The above could be inadequate if you have Large device configurations or perform a lot of Webservice functions using the BNA API. In this case you may need to double the recommended settings This value can be manually changed (Changing this way will not carry over during an upgrade)
Windows:
Run regedit
For 32 bit windows: HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundation -> Procrun 2.0 -> enatomcat -> parameters -> Java,
For 64 bit Windows: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\enatomcat\Parameters\Java JvmMx - is the max memory
JvmMs - is the initial memory
SPECIFY THE VALUE IN DECIMAL Linux/solaris
goto /etc/init.d
edit enatomcat
case $1 in
start) CATALINA_OPTS="-server -Xmx 1024m -Xms 512m \ -Xmx is max memory
-Xms is initial memory
***Tomcat will need to be restarted on all OSes to initiate the change*** |