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

Sebastian Łaskawiec (JIRA) issues at jboss.org
Tue Nov 14 03:41:00 EST 2017


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

Sebastian Łaskawiec commented on ISPN-8396:
-------------------------------------------

[~william.burns]

{quote}
Sorry why are transactional caches an issue?
{quote}

Sorry, my mistake... you mentioned that will *might not* work correctly in non-tx caches. So if the user configured this type of eviction and a non-tx cache, maybe we should emit a warning - "MEMORY-EXCEPTION was designed to work with transactional caches. Data loss might occur in case of OOM".. or something like that..

> 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