Skip to content
Advertisement

Tag: heap-memory

What is leaking int arrays in my program?

I have Java program that, over about 16 hours, is slowly filling the heap with integer arrays that the GC is not getting rid of. I only have VisualVM available to diagnose the problem, which is how I found that it’s int[] that is filling the heap. Any ideas how I can find the source of the int[] creation? I’m

Ignite heap not release, this is a memery leak?

I have a 20 minute pressure test during which the free JVM heap size drops from 97% to 3%. Even if I wait 5 hours, the amount of free space does not change. If I try to have a test again, the GC has too much work and causes a long JVM pause. I use 2.7 Ignite, I do not

Java program failing to map Native memory allocation

Java program failing to allocate Native memory even after enough RAM is available. The program crashes repeatedly after failing with os_commit exceptions. Any recommendation to update to tune Java Heap etc. As per the logs you can see that there is enough memory available Resource Utilization JMap Output Java Version Redhat Release Answer You are possibly impacted by this As

Instance created inside of a Method

I have not been able to find any reliable literature on this but i’m curious as to where an object is stored if its created inside of a method ? on the stack or on the heap in java 8? I know that normally only local primitives, reference variables and function calls are stored on the stack and that objects

Advertisement