[infinispan-issues] [JBoss JIRA] (ISPN-8396) Add interceptor preventing going out of memory

William Burns (JIRA) issues at jboss.org
Mon Dec 11 15:47:01 EST 2017


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

William Burns commented on ISPN-8396:
-------------------------------------

So I am thinking about this a bit more.

I am thinking we could add

{code}
COUNT-EXCEPTION
MEMORY-EXCEPTION
{code}

They would behave as they are currently (COUNT or MEMORY based) but they would throw exceptions. I kinda wonder if this should be a different property though, separating the exception part. This would also allow for on heap to have count based limiting.

> Add interceptor preventing going out of memory
> ----------------------------------------------
>
>                 Key: ISPN-8396
>                 URL: https://issues.jboss.org/browse/ISPN-8396
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Cloud, Core
>            Reporter: Sebastian Łaskawiec
>            Assignee: William Burns
>
> We need an interceptor which will calculate the amount of required memory for PUT and report an error if that put will cause going out of memory.
> Note that this is strictly connected to eviction mechanism (we might want to evict some entries on write)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list