From 7e8a1ef0e2044a2bb199e67bf412c700aeb7d2b3 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 18 Oct 2024 14:25:42 +0200 Subject: [PATCH] log file when OOM appears --- source/net/yacy/kelondro/blob/HeapReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/kelondro/blob/HeapReader.java b/source/net/yacy/kelondro/blob/HeapReader.java index d610e9787..c2cb5d73a 100644 --- a/source/net/yacy/kelondro/blob/HeapReader.java +++ b/source/net/yacy/kelondro/blob/HeapReader.java @@ -811,7 +811,7 @@ public class HeapReader { // the allocation of memory for the payload may fail // this is bad because we must interrupt the iteration here but the // process that uses the iteration may think that the iteraton has just been completed - log.severe("out of memory in LookAheadIterator.next0", ee); + log.severe("out of memory in LookAheadIterator.next0 for file " + this.blobFile.toString(), ee); try {this.is.close();} catch (final IOException e) {} return null; }