Getting OOM when starting nodeagent

This nodeagent was operational and restarting fine for at least a year. Suddenly it started throwing OutOfMemory errors on startup.
(So this is not an issue of insufficiently sized Xmx ).

From the native_stderr.log it seems that the OOM occurred while executing some FFDC directory content listing:


Caused by: java.lang.OutOfMemoryError: Java heap space
at java.io.File.list(File.java:984)
at java.io.File.listFiles(File.java:1062)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider$5.run(FfdcOnDirProvider.java:192)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider$5.run(FfdcOnDirProvider.java:190)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider.listFiles(FfdcOnDirProvider.java:189)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider.access$300(FfdcOnDirProvider.java:40)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider$FfdcJanitor.run(FfdcOnDirProvider.java:60)
at com.ibm.ffdc.util.provider.FfdcOnDirProvider.(FfdcOnDirProvider.java:84)
at com.ibm.ffdc.impl.Ffdc.makeDefaultProvider(Ffdc.java:323)
at com.ibm.ffdc.osgi.Activator.start(Activator.java:43)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
… 101 more

Related:

Leave a Reply