GC too frequency under heavy load with Mule3.2

本秂侑毒 提交于 2019-12-06 06:02:30

For every request that Mule receives, numerous objects are created (session, event, message, anonymous classes that act as closures in many places).

Moreover, some transports may create more objects other transports less, depending on their technical needs (for example HTTP will create extra objects for storing headers, cookies...).

So this is not a bug but I can't say it's a feature either. And I think that reducing the amount of objects created per request would be an excellent initiative for Mule...

You should not be using jProfiler to measure Allocation rate of your application. jPRofiler influences the performance of your application and has a huge overhead.

You should be using gc-logging/jmap/jstat or other tools instead to observer and compute the true memory statistics of your application.

Then, you can use jProfiler on your app with a moderate workload to profile and study the heap allocation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!