more secure locks and a script to create a system image of juliaMSI for faster boot times, still experimental but everything else remains pristine

This commit is contained in:
Pixelguy14
2026-04-07 14:06:02 -06:00
parent e0ef601a9b
commit 70fff16170
7 changed files with 262 additions and 13 deletions
+14
View File
@@ -2422,8 +2422,22 @@ end
else
push!(newly_created_folders, replace(basename(file_path), r"\.imzML$"i => ""))
end
# --- Periodic Memory Reclamation ---
# Force GC and return memory to the OS after processing each large file
GC.gc(true)
if Sys.islinux()
ccall(:malloc_trim, Cint, (Cint,), 0)
end
current_step += 1
end
# Final memory cleanup for the batch
GC.gc(true)
if Sys.islinux()
ccall(:malloc_trim, Cint, (Cint,), 0)
end
# --- 3. Final Report ---
total_time_end = round(time() - total_time_start, digits=3)