RuudMA to Lemmy.World Announcements • edit-21 year agoSome system load graphs of last 24hmessage-square184arrow-up11.75Karrow-down114file-text
arrow-up11.74Karrow-down1message-squareSome system load graphs of last 24hRuudMA to Lemmy.World Announcements • edit-21 year agomessage-square184file-text
minus-square@[email protected]linkfedilink4•1 year agoGreat! 😁 I was just wondering because the memory graph showed sharp falls in memory usage every ~30 mins.
minus-square@[email protected]linkfedilink3•edit-21 year agoRust has no garbage collector though. Memory is freed up as soon as the variable leaves the current scope. I’m guessing the server was still set up to restart every 30 mins at the time this pic was taken. Then they tried disabling that and it was fine.
Is the memory leak still there?
No! Restarts are disabled and it’s OK now!
Great! 😁 I was just wondering because the memory graph showed sharp falls in memory usage every ~30 mins.
That is probably the Garbage Collector running.
Rust has no garbage collector though. Memory is freed up as soon as the variable leaves the current scope.
I’m guessing the server was still set up to restart every 30 mins at the time this pic was taken. Then they tried disabling that and it was fine.
It was mildly educated guess, I know very little about Rust.