Re: Tool To analyse memory on cf ||Application crashing on cloud foundry with java.lang.OutOfMemoryError: Metaspace

Mohit Garg <gargmohit3890@...>

Hi All,

I have configured new relic with my application on cloud foundry.

My applicaition is crashing on cloud foundry with following error:
java.lang.OutOfMemoryError: Metaspace
2016-02-12T09:09:52.71+0000 [App/0] OUT #
2016-02-12T09:09:52.71+0000 [App/0] OUT # Executing /bin/sh -c

But in new relic my metaspace is less than total allocated memory. and
loaded class count is 13.9K.

So I have few questions:

Does Code Cache memory and Used Compressed Class Space is part of Used
Metaspace in new relic graph under JVMs tab?
Does Used Metaspace contains the size of the loaded classes in new relic
graph under JVMs tab?
How to find the size of loaded classes in jvm by newrelic?
P.S. : I know that loaded class is part of java Metaspace. Getting confused
with new relic graphs

View this message in context:
Sent from the CF Dev mailing list archive at

Join to automatically receive all group messages.