[infinispan-issues] [JBoss JIRA] Commented: (ISPN-863) Eviction based on JVM memory utilization

Mircea Markus (JIRA) jira-events at lists.jboss.org
Mon Jan 17 04:24:49 EST 2011


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

Mircea Markus commented on ISPN-863:
------------------------------------

@Dave @Galder if all the info is keept in binary format (useLazyDeserialization=true) then one can estimate how much heap is being used by the cache by summing up the size of all the cache entries stored (byte[]). This can then be multiplied with a coefficient: that is ISPN's internal structure for holding the data. This would allow one to configure ISPN as follows: in this JVM I only want ISPN to occupy 300Mb and leave the rest for the other applications. 

> Eviction based on JVM memory utilization
> ----------------------------------------
>
>                 Key: ISPN-863
>                 URL: https://issues.jboss.org/browse/ISPN-863
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Eviction
>    Affects Versions: 4.2.0.Final
>         Environment: N/A
>            Reporter: Dave Marion
>            Assignee: Manik Surtani
>              Labels: eviction, threshold
>             Fix For: 5.1.0.BETA1, 5.1.0.Final
>
>
> Allow user to specify percentage threshold upon which eviction will kick in and begin evicting entries based on the specified strategy. This would allow user to create a cache that will attempt to keep as many entries in memory as possible without having to specify maxEntries.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list