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

William Burns (JIRA) issues at jboss.org
Mon Nov 13 13:31:00 EST 2017


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

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

Also while working on this I can estimate how large most objects are. But things like functional commands and other lambda based operations I can't know how large the value is.Thus I am not sure what count we want to put for a value that we can't calculate.

There are a few things I can think of:

# Add this to config, but that seems a bit burdensome.
# We could just use a hardcoded value, but that isn't very good either.
# Try to take an average of values seen before? Not sure if this is possible or not.

> 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 Integrations, 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