1 items

File information

Last updated

Original upload

Created by

DevourerPi

Uploaded by

DevourerPi

Virus scan

Safe to use

About this mod

Replaced Skyrim's default heap allocation with TBBMalloc (from Intel's Threading Building Blocks).
Like SSE Engine Fixes' UseTBBMalloc does.

Share
Requirements
Permissions and credits
Changelogs
Donations
Simple Heap Replacer

The Simple Heap Replacer plugin replaces Skyrim's default heap allocation (heapAlloc?) with TBBMalloc.

Most people may not understand, simply put:

Many people have used meh321's Crash Fixes with UseOSAllocators=1 to enhance stability for the user's Skyrim (I think so).

In fact, UseOSAllocators=1 is to replace the default heap allocation of Skyrim with
malloc of the C standard library, and tbbmalloc is the allocation method used by Intel Threading Building Blocks to replace malloc
.

So in essence Simple Heap Replacer is similar to UseOSAllocators=1, but the malloc used for replacement is changed to tbbmalloc.


Q&A


Question: Why am I replacing heap allocations?

Answer: Usually not needed, if you feel you have built your Skyrim well you can just use the SKSE Patch to increase the heap memory.


Question: Why use tbbmalloc instead of malloc?

Answer: tbbmalloc is a function provided by Intel Threading Building Blocks to replace malloc, and one of the purposes of TBB is threading to improve performance.

Question: Is it safe to replace the default heap allocation?

Answer: In preliminary tests, we did find some bugs caused by replacing the default heap allocation, but the side effects are usually the same as UseOSAllocators=1. If you like to use UseOSAllocators=1, then Simple Heap Replacer is the same.


Common compatibility issues:

Crash Fixes's UseOSAllocators=1:
Obviously, you can't have Simple Heap Replacer and Crash Fixes coexist with UseOSAllocators=1, they modify the same places.

Solution: Keep the UseOSAllocators of CrashFixPlugin.ini at 0.
Note: Keep the AlignHeapAllocate at 0.

hdtSkyrimMemPatch's ReplaceDefaultHavokHeap = true:

Likewise, any plugin that modifies the default heap may not be compatible.


Solution: keep ReplaceDefaultHavokHeap=false if you have hdtSkyrimMemPatch.




Please note that the tbbmalloc.dll in Part 2 must be extracted to the game root directory (near TESV.exe), otherwise the plugin will not take effect.





Credit:

Intel's Threading Building Blocks

SKSE Team's Skyrim Script Extender

meh321's Crash Fixes

aers - Nukem - Ryan SSE Engine Fixes