You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Yang Xia (Jira)" <ji...@apache.org> on 2025/01/29 19:18:00 UTC
[jira] [Closed] (TINKERPOP-3124) MessageSizeEstimator is not sizing Frame instances properly
[ https://issues.apache.org/jira/browse/TINKERPOP-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Xia closed TINKERPOP-3124.
-------------------------------
Fix Version/s: 3.7.4
Resolution: Fixed
> MessageSizeEstimator is not sizing Frame instances properly
> -----------------------------------------------------------
>
> Key: TINKERPOP-3124
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3124
> Project: TinkerPop
> Issue Type: Bug
> Components: server
> Affects Versions: 3.7.3
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Critical
> Fix For: 3.7.4
>
>
> Netty has a {{MessageSizeEstimator}} which helps estimate the number of bytes in the channel's direct memory buffer. Each channel checks the count against the {{writeBufferHighWaterMark}} to determine if writes should be paused to avoid OOMs. The default implementation of the estimator from Netty does not take {{Frame}} into account and therefore the estimations are off.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)