Changes

→‎Fix specific errors: + OutOfMemoryException errors (Windows only)
Line 236: Line 236:  
# Right-click on <tt>StardewValley.exe</tt>, and go to ''Properties'' > ''Compatibility'' > ''Change High DPI settings''.
 
# Right-click on <tt>StardewValley.exe</tt>, and go to ''Properties'' > ''Compatibility'' > ''Change High DPI settings''.
 
# Change the DPI settings for <tt>StardewModdingAPI.exe</tt> so they match the ones for <tt>StardewValley.exe</tt>.
 
# Change the DPI settings for <tt>StardewModdingAPI.exe</tt> so they match the ones for <tt>StardewValley.exe</tt>.
 +
 +
===<tt>OutOfMemoryException</tt> errors (Windows only)===
 +
Your log shows <tt>OutOfMemoryException</tt> errors in the console, and the game may severely lag or crash. That means your game ran out of available memory mid-session. Since the game is 32-bit, it can only use about 3GB of memory (even if your computer has more available).
 +
 +
Some common fixes:
 +
* Remove content mods you don't need (particularly content packs for Custom Music or TMXL Map Toolkit, which can use a lot of memory).
 +
* Or [[Modding:Migrate to 64-bit on Windows|apply the 64-bit Stardew Valley patch]], which will remove the 3GB memory limit.
    
==Fix other problems==
 
==Fix other problems==
translators
8,437

edits