About this mod
A SKSE plugin to log sizes of memory block 1 and 2
- Requirements
- Permissions and credits
- Changelogs
This is a utility for users who patch Skyrim according to Skyrim Memory Patch.
This SKSE plugin helps finding a good size for the first memory block (DefaultHeap).
See GamerPoets video on the left for installation of Memory Blocks Log and how to use the log it creates to set useful DefaultHeap memory values. Gopher was nice enough to make a video on the right explaining the memory patch in detail.
See GamerPoets channel for more great tutorials. Please consider supporting Gamerpoets through PayPal or Patreon if you find the instructional video useful.
The Question
Since posting about the patch one important question to answer is, how much memory to pre-allocate for the first block (DefaultHeap). There is no need to pre-allocate a much larger block for the than the game will actually need. In fact doing so can have a negative impact, because other parts of the game need memory as well and the more is pre-allocated to this specific block the less is available to the other processes.
Remember, we are not telling the game to use more memory, we are telling it to pre-allocate the first block (DefaultHeap) in one big continuous chunk instead of the default small chunk and later using additional smaller chunks somewhere else.
The Answer
MemoryBlocksLog is a SKSE plugin that writes the sizes of the two memory blocks DefaultHeap and ScrapHeap to a logfile whenever more memory is committed to them. Check the readme.txt in the zip for more info about how to install and how to use it.
After installation and verifying that it writes to the logfile start a game to find the highest needed value for your setup. Find the busy spots with lots of cell data. Windhelm Harbour comes to mind, the Rift or Solitude Harbour. It is typically the exterior spots where you had ILS.
If the reported size reaches the patch value, increase it by 128MB and test again.
If the reported size does not reach the patch value, take the highest value reported for Block1 (DefaultHeap) from the logfile and add a few Megabytes, for example 30 or 60MB, as buffer.
Do not use patch values below the default 256MB.
The size of Block2 (ScrapHeap) is just reported for completeness. It should never go over 256MB unless new patch information is discovered. It is recommended not to change it. If the game doesn't start with high Block 1 (DefaultHeap) values set ExpandSystemMemoryX64=false in enblocal.ini
=================================================================
Requirements
This is a plugin for Skyrim Script Extender SKSE so you need SKSE
http://skse.silverlock.org/
=================================================================
Installation
Copy MemoryBlocksLog.dll and MemoryBlocksLog.ini into the SKSE plugin folder.
../data/skse/plugins/
=================================================================
Settings
Edit ../data/skse/plugins/MemoryBlocksLog.ini in notepad to set log location and other things
If using MO and DefaultLogLocation=true check overwrite folder for the logfile.
=================================================================
This is really straight forward and should not require help to use.
Do not ask me me how to install SKSE or an SKSE plugin. There are already guides for that.
Do not ask me how to edit or create an ini file. Notepad?
Do not ask me how to patch your game. The preferred method is to use the official SKSE.ini settings.
Do not ask me for help with your game or how to find a mate, cook or bind your shoe laces.
I know you are happy your game works now. I am glad, too and thank you for your first borns.
=================================================================
Not seeing the wood for the trees
S.T.E.P. Project
Skyrim Stability Guide
Speed and Stability Guide for ENB
GamerPoets Youtube Channel
Gophers Youtube Channel
Skyrim Script Extender (SKSE)
=================================================================
Sheson - Holy Cow I fixed Skyrim
=================================================================