[
https://issues.apache.org/jira/browse/DIRECTMEMORY-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved DIRECTMEMORY-130.
------------------------------------------
Resolution: Fixed
Fix Version/s: 0.2
Assignee: Tommaso Teofili
> MemoryManagerService does not reset the used memory count to zero in clear
> --------------------------------------------------------------------------
>
> Key: DIRECTMEMORY-130
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-130
> Project: Apache DirectMemory
> Issue Type: Bug
> Components: core
> Reporter: Chetan Mehrotra
> Assignee: Tommaso Teofili
> Priority: Minor
> Fix For: 0.2
>
> Attachments: DIRECTMEMORY-130.patch
>
>
> On invoking org.apache.directmemory.memory.MemoryManagerServiceImpl#clear the
> 'used' memory does not get reset to zero. Freeing up the pointer via
> free(Pointer) does update the 'used'. Similarly the clear operation should
> reset it to zero
> [1]
> http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/MemoryManagerServiceImpl.java?revision=1494835&view=markup#l254
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira