[infinispan-issues] [JBoss JIRA] (ISPN-7311) CacheJmxRegistration retains a lot of memory even though the JmxStatstics is turned off

Radim Vansa (JIRA) issues at jboss.org
Thu Jan 19 12:01:00 EST 2017


    [ https://issues.jboss.org/browse/ISPN-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13351250#comment-13351250 ] 

Radim Vansa commented on ISPN-7311:
-----------------------------------

Hi [~senv1205], do I understand correctly that you have 11,900 caches on the production instance? We've already seen few thousands of caches (and fixed resource usage problems), but generally we would advise against such setup; as Cache is conceptually an equivalent of SQL table, we develop with rather tens or hundreds of caches in mind.

There are only a couple of references to {{CacheJmxRegistration}}, have you tried simply commenting out all the references? 

> CacheJmxRegistration retains a lot of memory even though the JmxStatstics is turned off
> ---------------------------------------------------------------------------------------
>
>                 Key: ISPN-7311
>                 URL: https://issues.jboss.org/browse/ISPN-7311
>             Project: Infinispan
>          Issue Type: Bug
>          Components: JMX, reporting and management
>    Affects Versions: 7.0.3.Final
>         Environment: Production
>            Reporter: Senthil Kumar Balakrishnan
>         Attachments: Screen Shot 2016-12-12 at 10.21.06 AM.png
>
>
> In production environment we see a lot of JmxObjects getting created for each cache created in infinispan, it's very expensive in terms of memory usage. Is there a possibility to disable or not create these JmxObjects when the JmxStatistics are turned off ?



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list