ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

apm_bridge probe caught in restart loop


Article ID: 240600


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


We just upgraded our UIM to version 20.4.0 and we have the apm_bridge at version 1.0.7.  The apm_bridge gets an error after start up but appears to run for a few mins and then restarts itself.

Errors include:

ERROR [ForkJoinPool-1-worker-9, apm_bridge] Exception in findDuplicateVerticesAttributes: Unexpected end-of-input in VALUE_STRING 
 at [Source: [email protected]; line: 553640, column: 1569] 

ERROR [ForkJoinPool-1-worker-9, apm_bridge] Invalid start to object 

ERROR [ForkJoinPool-1-worker-9, apm_bridge] java.lang.NullPointerException 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.findCIinCacheFile( 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.harvestCI( 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.transform( 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.processTopology( 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.inventoryProcessWithoutCsFilter( 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.lambda$runOneIteration$0( 
 at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec( 
 at java.util.concurrent.ForkJoinTask.doExec( 
 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask( 
 at java.util.concurrent.ForkJoinPool.runWorker( 

FATAL [ForkJoinPool-2-worker-9, apm_bridge] Unhandled exception occurred. Stopping probe 
java.lang.OutOfMemoryError: GC overhead limit exceeded 
 at java.lang.String.toCharArray( 
 at org.apache.commons.lang3.math.NumberUtils.isNumber( 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.lambda$harvestCI$2( 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer$$Lambda$29/1281575422.accept(Unknown Source) 
 at java.util.LinkedHashMap.forEach( 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.harvestCI( 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService$$Lambda$14/ Source) 



Release : 20.4

Component : UIM - APMGTW


The probe is running out of memory.

In the apm_bridge.cfg this is set here:

   options = -Xms32m -Xmx1g -Dfile.encoding=UTF-8

An example of doubling the memory from 1gb to 2gb allocated:

   options = -Xms32m -Xmx2g -Dfile.encoding=UTF-8

You will want to deactivate the probe, wait for it to lose the port and PID, and then make this change and activate it.