Skip to content

Commit

Permalink
RavenDB-23807 - fix calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha-kotler committed Feb 27, 2025
1 parent f643e2f commit 71175eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Raven.Server/Indexing/LuceneCleaner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void LowMemory(LowMemorySeverity lowMemorySeverity)
if (sp != null && sp.ElapsedMilliseconds > 100)
{
Logger.Info($"Purged Lucene caches, took: {sp.ElapsedMilliseconds}ms, " +
$"cleaned: {new Size(NativeMemory.TotalLuceneUnmanagedAllocationsForSorting - unmanagedUsedBeforeInBytes, SizeUnit.Bytes)}");
$"cleaned: {new Size(unmanagedUsedBeforeInBytes - NativeMemory.TotalLuceneUnmanagedAllocationsForSorting, SizeUnit.Bytes)}");
}
}

Expand Down

0 comments on commit 71175eb

Please sign in to comment.