Some players report OutOfMemoryException in Stardew Valley 1.5
Pathoschild opened this issue ยท 5 comments
I've noticed several players reporting OutOfMemory
crashes since the Stardew Valley 1.5 and SMAPI 3.8 update. I'll track affected players here in case there's a pattern.
Known cases
date | report | log | notes |
---|---|---|---|
2020-12-24 | BladeSlashLord on Nexus | log | Windows 7. User only has 3GB RAM. No errors if they remove all mods. |
2021-01-02 | BoredWritter on Reddit | log | Windows 7. User only has 2GB RAM. |
2021-01-03 | CommanderKSK on Reddit | log | Windows 10. User has 16GB of RAM. |
2021-01-03 | minervamaga on GitHub | log | Windows 10. 32GB of RAM, game crashes at 1.2GB usage. |
2020-01-05 | Temporary_Session211 on Reddit | log | Windows 7. User only has 2GB of RAM. User says first error is always SVE loading Map/Castle_village , and issue is fixed when they remove SVE. |
2020-01-06 | denizperi on Nexus | log | Windows 7. 3GB of RAM. Game sometimes starts lagging (possibly due to memory issues), and crashes every time they try to save. |
32GB of RAM on this PC, max I've seen SDV pull with the issue occurring is 1.2GB.
I can set up a private Dropbox link with my mods folder, if there is a way to send it aside from Discord :)
SMAPI 3.8.3 has some changes to reduce memory usage and improve performance. A few affected players who tried it say it fixes the problem, but Stardew Valley 1.5.2 forced a SMAPI update before I was able to confirm with more players. I'll keep this open to monitor whether players continue reporting memory issues.
I've not run into the issue myself, but with SMAPI 3.8.3 and SDV 1.5.2 I do see a measurable in memory footprint. The spike on load is also attenuated. Mostly just adding comment as another data point
I haven't seen any reported memory issues since SMAPI 3.8.3 was released, so I'll mark this solved.
Note that you can still get memory errors if you have a large number of mods (typically 700+). That's a preexisting limitation due to the game being 32-bit (so it's limited to about 3GB of memory even if your system has more), it's not related to this issue which caused memory errors for many players with relatively few mods.