summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-04-24 15:26:18 +0200
committerJon Bratseth <bratseth@oath.com>2018-04-24 15:26:18 +0200
commit06371345a7b7f7d27406bd8d72ca6769b7edb651 (patch)
tree4257b1f4b9f9891ce44bac60998029ebcf6b0e03 /container-core
parent29d894be652512bf2e44ce57ac126a35fb1985e1 (diff)
Clear renderer hit groups
This allows us to stream more data than can fit in the container (across all concurrent queries), as rendered hits in completed groups can now be garbage collected. We can not deference the hit groups themselves as that entails modifying the parent list.
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
index eeb02f768f4..6e1d2627c22 100644
--- a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
+++ b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
@@ -363,6 +363,7 @@ public abstract class AsynchronousSectionedRenderer<RESPONSE extends Response> e
endRenderLevel(list);
stream.flush();
dataListListenerStack.removeFirst();
+ list.close();
if (parent != null)
parent.childCompleted();
}