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

Dan Smith updated GEODE-1510:
-----------------------------
    Component/s: wan

> Inaccurate size constants in GatewaySenderEventImpl.getSizeInBytes
> ------------------------------------------------------------------
>
>                 Key: GEODE-1510
>                 URL: https://issues.apache.org/jira/browse/GEODE-1510
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: Dan Smith
>
> This method adds together a lot of magic numbers to produce a size for the 
> entry. The size is important because it is used for LRU eviction 
> calculations; if the size is under reported the queue may end up consuming 
> more memory than expected.
> The magic numbers used in this class do no appear to be correct for 64 bit 
> VMs, based on the comments. 
> This size method should be refactored to return an accurate size, preferably 
> one that is measured rather than relying on these constants. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to