Java IllegalArgumentException "committed > max memory" when initializing java.lang.management.MemoryUsage
Issue
- Messages piling up in the AMQ error queue due to the following exception:
Caught java.lang.IllegalArgumentException: committed = 3223322624 should be < max = 3221225472 for 1Z538W6W0497904765: java.lang.IllegalArgumentException: committed = 3223322624 should be < max = 3221225472
at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:160)
at sun.management.MemoryImpl.getMemoryUsage0(Native Method)
at sun.management.MemoryImpl.getHeapMemoryUsage(MemoryImpl.java:71)
at org.apache.camel.impl.DefaultStreamCachingStrategy$UsedHeapMemorySpoolRule.shouldSpoolCache(DefaultStreamCachingStrategy.java:381)
...
Environment
- Fuse 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.