magibney commented on code in PR #13570:
URL: https://github.com/apache/lucene/pull/13570#discussion_r1683080897


##########
lucene/core/src/java/org/apache/lucene/index/IndexFileNames.java:
##########
@@ -142,6 +143,26 @@ public static String stripSegmentName(String filename) {
     return filename;
   }
 
+  /**

Review Comment:
   Right, I understand that part; my question was: if it's the act of mapping 
the file that allocates virtual memory, and there's no deduping, then in theory 
even with a limited number of files per segment, and even if segment 
generations don't change at all, if you re-map the files enough times on the 
same Arena without closing/de-allocating, you could still exhaust resources. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to