the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

"Long Save File" - Fix Attempt 2 - Public Beta

Mystical Panda

Active Member
Messages
139
Here's something I came across... is this saying that it started dumping stacks (there was a lot of them and this is just one) because the game was trying to freeze the VM (which would be for a game save), but there were scripts which were still trying to stack VM pages during the 'freezing' (basically firing more of themselves off trying to execute)?

If the VM stopped executing scripts, but they were still firing themselves off somehow they'd stack up until they started dumping themselves out.

[12/31/2021 - 02:14:50AM] Dumping stack 6271294:
[12/31/2021 - 02:14:50AM] Frame count: 4 (Page count: 4)
[12/31/2021 - 02:14:50AM] State: Running (Freeze state: Freezing)
[12/31/2021 - 02:14:50AM] Type: Normal
[12/31/2021 - 02:14:50AM] Return register: [workshopframework:mainquest <WSFW_Main (12000F99)>]
[12/31/2021 - 02:14:50AM] Has stack callback: No
[12/31/2021 - 02:14:50AM] Has unbind object: No
[12/31/2021 - 02:14:50AM] Stack trace:
[12/31/2021 - 02:14:50AM] <unknown self>.workshopframework:wsfw_api.GetAPI() - "C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\WorkshopFramework\WSFW_API.psc" Line 517
[12/31/2021 - 02:14:50AM] IP: 413 Instruction: 5 Line: 517
[12/31/2021 - 02:14:50AM] [::temp114]: [WorkshopFramework:WSFW_APIQuest <WSFW_API (12004CA3)>]
[12/31/2021 - 02:14:50AM] [::temp115]: [WorkshopFramework:WSFW_APIQuest <WSFW_API (12004CA3)>]
[12/31/2021 - 02:14:50AM] [::temp116]: [workshopframework:mainquest <WSFW_Main (12000F99)>]
[12/31/2021 - 02:14:50AM] [::temp117]: [workshopframework:mainquest <WSFW_Main (12000F99)>]
[12/31/2021 - 02:14:50AM] [::temp118]: False
[12/31/2021 - 02:14:50AM] [::temp119]: False
[12/31/2021 - 02:14:50AM] [api]: [WorkshopFramework:WSFW_APIQuest <WSFW_API (12004CA3)>]
[12/31/2021 - 02:14:50AM] [::temp120]: None
[12/31/2021 - 02:14:50AM] [::temp121]: False
[12/31/2021 - 02:14:50AM] [::nonevar]: None
[12/31/2021 - 02:14:50AM] [::temp122]: None
 

Mystical Panda

Active Member
Messages
139
Here is the CK wiki concerning papyrus and save files.
This is about the best information I have found concerning stack dumping.
Thanks, there's some good information in there and gives a tad bit of insight on the VM- if I read that correctly, 'stack dumping' is stacks over the suspended limit (could happen for various reasons). Which, would make sense (if I'm thinking correctly) in causing a 'long save' as during the save the engine/VM is trying to 'clear some out' before it can complete and the more that are suspended (or temp deadlocked), the longer it will take. I've seen a game save have a large number of suspended, then within just a minute or so on the next save, drop down to either 1 or nothing. I'm not totally sure if it happens only during game play, or during a saving also.

It would be nice to have an OSD that shows peeked values during game play...
 
Top