BishopGit / music-rim

A RimWorld mod
Other
0 stars 0 forks source link

Memory Leak #1

Open Syngian opened 4 years ago

Syngian commented 4 years ago

This mod seems to cause a memory leak in my setup. With Core and this mod enabled, RimWorld uses 8.5GB of RAM. With just core enabled, it uses 470M. I'm running RimWorld on Arch Linux, Rimworld version 1.1.2589 rev1335.

BishopGit commented 3 years ago

@Syngian Music mods seem to refuse to play nice with Linux. When loading with Windows, the memory allocation appears normal, but with Linux it goes way overboard. I have the same issue when trying to use any RimWorld music mod in Linux. Tried on several different distros. You'll see though, that the amount of memory being used doesn't constantly increase over time. Best solution I have to the problem is to make sure you have a swap partition which is at least as large as the amount of physical memory you have (assuming you have 8Gb+ of RAM). Once the game loads the music mod there shouldn't be any noticeable impact from the memory usage.