You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directmemory.apache.org by "Raffaele P. Guidi (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/18 21:45:10 UTC

[jira] [Resolved] (DIRECTMEMORY-17) Element Eviction/Expiry issue

     [ https://issues.apache.org/jira/browse/DIRECTMEMORY-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raffaele P. Guidi resolved DIRECTMEMORY-17.
-------------------------------------------

    Resolution: Fixed
      Assignee: Raffaele P. Guidi

created a basic isShortage function. It is configured setting OffHeapMemoryBuffer.maxAllocationErrors to de desired value - default is zero, meaning that after an allocation error the eviction starts - if some room is made or the buffer is cleared allacationErrors gets reset
                
> Element Eviction/Expiry issue
> -----------------------------
>
>                 Key: DIRECTMEMORY-17
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-17
>             Project: Apache DirectMemory
>          Issue Type: Bug
>            Reporter: Ashish Paliwal
>            Assignee: Raffaele P. Guidi
>
> Element eviction (LFU) is happening during normal cleanup task. It would be good to evict elements only during resource constraint like limited space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira