Skyrim
0 of 0

File information

Last updated

Original upload

Created by

MarkDF

Uploaded by

markdf

Virus scan

Safe to use

Tags for this mod

About this mod

This is a simple PowerShell script that monitors the game's papyrus log file, and alerts the user if there are stack dumps present.

Requirements
Permissions and credits
Changelogs
Donations
Brief
This is a simple PowerShell script that monitors the papyrus log file, and alerts the user if there are stack dumps present.

Overview
When running lots of mods -- especially script intensive mods -- there is a
risk of the  scripting engine becoming overloaded. If the number of
active scripts exceeds a certain threshold, they will be dumped, which means that they are written out the logfile. Some scripts may get suspended as the Papyrus engine tries to recover.

This can be a sign that something has gone very wrong. So I wrote this monitor script to alert me.

Results
During normal gameplay, the output of the monitor will look something like this. Note that having some errors and warnings is quite normal if you have mods installed.
---------------------------------------------------------------------------
LOG SIZE           : 27.60 KB
NUMBER OF DUMPS    : 0
NUMBER OF STACKS   : 0
AVG STACKS/DUMP    : 0
NUMBER OF WARNINGS : 87
NUMBER OF ERRORS   : 33

---------------------------------------------------------------------------
When a stack dump has occurred, the output of the monitor will look like
this. It will be accompanied by a beeping sound every 4 seconds and the
PowerShell window changing color.
---------------------------------------------------------------------------
LOG SIZE           : 948.92 KB
NUMBER OF DUMPS    : 1
NUMBER OF STACKS   : 118
AVG STACKS/DUMP    : 118
NUMBER OF WARNINGS : 392
NUMBER OF ERRORS   : 1246
[06/04/2018 - 11:50:23PM] Count of suspended stacks is over our warning threshold, dumping stacks: