Native Memory Leak

Kirk Pepperdine kirk.pepperdine at gmail.com
Fri Feb 9 08:10:30 UTC 2018


> On Feb 8, 2018, at 6:38 PM, Andrew Haley <aph at redhat.com> wrote:
> 
> On 07/02/18 19:27, Jacob Schlather wrote:
>> Having found these I could use some guidance on what to look at next and
>> what sorts of calls could potentially be causing these issues. We don't
>> have any explicit uses of JNI that I can tell in our code bases. Let me
>> know if there's anymore information that would be helpful.
> 
> These look pretty normal.  Assuming that this is Linux, look at
> /proc/<pid>/maps/.  You might actually be leaking memory because
> of some native structures like FileHandles.

These will be cleaned up by finalization. I don’t think you’ll find a leak unless you can perform a few diff’s to get a better view.
> 
> -- 
> Andrew Haley
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-dev mailing list