[ 
https://issues.apache.org/jira/browse/IGNITE-11970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343872#comment-17343872
 ] 

Ignite TC Bot commented on IGNITE-11970:
----------------------------------------

{panel:title=Branch: [pull/7934/head] Base: [master] : Possible Blockers 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}JDBC Driver{color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=6005563]]

{color:#d04437}RDD{color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=6005565]]

{panel}
{panel:title=Branch: [pull/7934/head] Base: [master] : New Tests 
(4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Continuous Query 4{color} [[tests 
4|https://ci.ignite.apache.org/viewLog.html?buildId=6005210]]
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.testBufferCleanup[2 1 false Query [pageSize=1, 
loc=false]] - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.testBufferCleanup[2 0 true Query [pageSize=1, 
loc=false]] - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.testBufferCleanup[2 1 true Query [pageSize=1, 
loc=false]] - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.testBufferCleanup[1 0 true Query [pageSize=1, 
loc=false]] - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6005246&buildTypeId=IgniteTests24Java8_RunAll]

> Excessive use of memory in continuous queries
> ---------------------------------------------
>
>                 Key: IGNITE-11970
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11970
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Igor Belyakov
>            Assignee: Igor Belyakov
>            Priority: Critical
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When we prepare to send an entry into the continuous query's filter and 
> listener, we store it in an instance of CacheContinuousQueryEventBuffer.Batch.
> The batch is an array of entries of size 
> IGNITE_CONTINUOUS_QUERY_SERVER_BUFFER_SIZE (default is 1000) that stores the 
> currently received entries (we need it for the case of concurrent updates to 
> make sure that we preserve the order of update counters).
> The issue is that when we process a part of the array we keep the links to 
> the processed entries until we exhaust the array (after when we finally clear 
> it). Because of that we may store up to 999 garbage objects which can be a 
> lot if the entries are big.
> Need to clear the entries right after we've processed them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to