Files
Michael Peter Christen d05db9e6bb Introduced immutable indexes to solve the problem of
dying-peers-when-growing problem:

HeapReader can now open immutable indexes as SSTableHandleMap instances.
Keys and offsets remain file-backed instead of occupying the Java heap.
Lazy working copies avoid additional files until a mutation occurs.
Negative offsets record deletions without tombstone sidecars or RAM
maps. Mutable heaps retain RowHandleMap, while sealed segments save heap
memory.

With immutable indexes the memory consumption is not stopped, it is only
moved from heap memory to system memory. The result should be that there
is no need to assign more memory to YaCy when it gets bigger, it simply
takes it itself from the system memory.

This should also fix
https://github.com/yacy/yacy_search_server/issues/731
2026-08-30 14:55:29 +02:00
..
2025-09-10 00:15:06 +02:00
2025-09-10 00:15:06 +02:00
2025-09-10 00:15:06 +02:00