SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Out of memory exception

Rmdhn1 opened this issue ยท 7 comments

commented

Out of memory exception
that's it, haven't played the game in a while, updated it, updated all the mods, failed to initialize system blah blah blah

Log file
it didn't generate a log lol since the game didn't start

Screenshots
If applicable, add screenshots to help explain your problem.

commented

Can you post a screenshot of the error?

commented

Sorry for late reply but here it is
Capture

commented

SMAPI failed to initialize: System.TypeInitializationException: The type initializer for 'StardewModdingAPI.Constants' threw an exception. ---> System.TypeInitializationException: The type initializer for 'StardewValley.Game1' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at StardewValley.Game1..cctor()
--- End of inner exception stack trace ---
at StardewModdingAPI.Constants..cctor() in C:\source_Stardew\SMAPI\src\SMAPI\Constants.cs:line 98
--- End of inner exception stack trace ---
at StardewModdingAPI.Constants.get_GameVersion() in C:\source_Stardew\SMAPI\src\SMAPI\Constants.cs:line 98
at StardewModdingAPI.Program.AssertGameVersion() in C:\source_Stardew\SMAPI\src\SMAPI\Program.cs:line 95
at StardewModdingAPI.Program.Main(String[] args) in C:\source_Stardew\SMAPI\src\SMAPI\Program.cs:line 41
Game has ended. Press any key to exit.

commented

It's failing very early in the loading process, before any mods are loaded. What happens if you double-click Stardew Valley.exe in your game folder directly?

commented

didn't do anything? ok it' probably broken

commented

i validated the files and steam says it completes it, but it still won't start SDV and still the same error

commented

Yep, so it's not an issue with SMAPI. Can you come ask in #game-support on the Stardew Valley Discord?