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

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

{panel:title=Branch: [pull/7934/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/7934/head] Base: [master] : New Tests 
(16)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Continuous Query 4{color} [tests 8]
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.checkCacheWithMultipleNodesWithBackupsWithoutClient
 - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.checkCacheWithMultipleNodesWithBackups - 
PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.checkCacheWithMultipleNodes - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryWithTransformerBufferCleanupTest.checkCacheWithMultipleNodesWithBackupsWithoutClient
 - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryWithTransformerBufferCleanupTest.checkCacheWithMultipleNodesWithBackups
 - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryBufferCleanupTest.checkCacheWithSingleNode - PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryWithTransformerBufferCleanupTest.checkCacheWithMultipleNodes - 
PASSED{color}
* {color:#013220}IgniteCacheQuerySelfTestSuite6: 
ContinuousQueryWithTransformerBufferCleanupTest.checkCacheWithSingleNode - 
PASSED{color}

{color:#00008b}Service Grid{color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=55748c13-eb82-4646-a1d5-2a3ec9629987, topVer=0, 
nodeId8=c3b7ce35, msg=, type=NODE_JOINED, tstamp=1593018398738], 
val2=AffinityTopologyVersion [topVer=-3361938040609764688, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=55748c13-eb82-4646-a1d5-2a3ec9629987, topVer=0, 
nodeId8=c3b7ce35, msg=, type=NODE_JOINED, tstamp=1593018398738], 
val2=AffinityTopologyVersion [topVer=-3361938040609764688, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=618bb47e271-7e9c9159-b836-4926-81b2-208748c0f198, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=66d8ff3d-5fe7-4159-9132-0858ce7bfec8, topVer=0, nodeId8=66d8ff3d, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1593018398738]], 
val2=AffinityTopologyVersion [topVer=-4245390889047587766, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=618bb47e271-7e9c9159-b836-4926-81b2-208748c0f198, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=66d8ff3d-5fe7-4159-9132-0858ce7bfec8, topVer=0, nodeId8=66d8ff3d, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1593018398738]], 
val2=AffinityTopologyVersion [topVer=-4245390889047587766, minorTopVer=0]]] - 
PASSED{color}

{color:#00008b}Service Grid (legacy mode){color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=6f5fe99f-49e5-475a-87fc-b2712caa03b5, topVer=0, 
nodeId8=5fb8afe9, msg=, type=NODE_JOINED, tstamp=1593018808227], 
val2=AffinityTopologyVersion [topVer=1422068858590756490, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=6f5fe99f-49e5-475a-87fc-b2712caa03b5, topVer=0, 
nodeId8=5fb8afe9, msg=, type=NODE_JOINED, tstamp=1593018808227], 
val2=AffinityTopologyVersion [topVer=1422068858590756490, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=cc02c57e271-e2932302-0ee9-4769-8169-313c9d81122c, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=04aec518-d06f-42ad-97ba-74aec2cb9138, topVer=0, nodeId8=04aec518, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1593018808227]], 
val2=AffinityTopologyVersion [topVer=-30365458507920406, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=cc02c57e271-e2932302-0ee9-4769-8169-313c9d81122c, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=04aec518-d06f-42ad-97ba-74aec2cb9138, topVer=0, nodeId8=04aec518, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1593018808227]], 
val2=AffinityTopologyVersion [topVer=-30365458507920406, minorTopVer=0]]] - 
PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5414331&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
>             Fix For: 2.9
>
>          Time Spent: 0.5h
>  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