RAY
RAY

Reputation: 7110

What does this error mean, and how do I resolve it? (java.lang.InternalError: Memory Pool not found)

We're getting a very curious 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 do I resolve it? I've googled around quite a bit, and it looks like few people have experienced it 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.

Upvotes: 3

Views: 1600

Answers (1)

tbk
tbk

Reputation: 1526

I think one of the pools has been deallocated while iterating over the list of MXBeans, hence it is not found anymore.

This is highly specific to the environment used, maybe you could provide some more details about the JVM and/or applicationserver/container in use.

Upvotes: 2

Related Questions