What does this error mean and how to resolve it? (java.lang.InternalError: memory pool not found)

We get a very interesting error in our application.

java.lang.InternalError: memory pool not found

 for ( final MemoryPoolMXBean bean : ManagementFactory.getMemoryPoolMXBeans() ) {
  final MemoryUsage usage = bean.getUsage(); // Error thrown on this line
  System.out.println(usage);
 }

What does this error mean and how to resolve it? I searched a lot in googled and it seems like few have experienced this and no one has provided any good solutions.

Thanks in advance.

EDIT:

I am running JRockit jrrt-3.0.0-1.6.0_sun_jdk1.6_16 on Linux.

+3
source share
1 answer

I think one of the pools has been freed, iterating over the MXBeans list, so it is no longer found.

, , JVM / /.

+2

Source: https://habr.com/ru/post/1772084/


All Articles