Jump to content
  • 0

Common CTDs, Freezes, ILS and memory issues


hishutup

Question

 

 

Basic requirements to follow this FAQ

Use the following utilities and have some idea of what they do.

  • ENBoost: This extension moves the DX9 texture cache to a different 64 bit process. This reduces the chance of filling up the 32 bit process with textures causing random CTDs.
  • Crash Fixes: This is an SKSE plugin that helps catch some issues that cause skyrim to CTD, freeze or hang. 
  • Some form of memory fix:
    • SSME: Made redundant by SKSE memory tweaks.
    • SKSE memory tweaks: This changes the initial heap size to make it larger. This avoids the issue where skyrim will not increase the heap causing it to CTD, freeze or hang. This method requires some input for the correct size. This can be found by using Memory Blocks Log. This is a workaround to an issue.
    • Crash Fixes OSAllocators: This is a fix for the same issue that SKSE memory tweaks workarounds. This is a true fix but has its share of issues.
    • Crash Fixes CustomMemoryBlocks: This is a fix to some of the issues caused by OSAllocators. By breaking the heap into smaller blocks, the memory can be allocated and freed as needed. This method requires some input by observing how high you need to set the blocks size. This can be viewed in the console if the toggle is enabled.

 

Info that is typically useless:

  • Papyrus logs: These are NOT crash logs. Typically, the last entry could be several minutes before you even experience a crash. Any useful info is typically debugging code in scripts, this is usually removed/disabled before a mod is released. This is a very helpful tool to modders, but not to users.
  • Windows logs: These are rarely of any use to a user.

 

Issues caused by SKSE memory tweaks:

Problem: I randomly CTD.

Solution: Check the size against the memory blocks log. If the last element is close to the max size then you may need to increase heap 1 by some amount(~128 MB increments is accurate enough). Heap 2 doesnt need to be increased as it spawns more like it should.

 

Issues caused by Crash Fixes OSAllocators:

Problem: I get "Skyrim has failed to allocate memory"

Solution: This is caused by memory fragmentation and there isn't really a solution for this. Its suggest to use the custom memory blocks instead.

 

Issues caused by Crash Fixes CustomMemoryBlocks:

Problem: Stuff isn't loading in as expected.

Solution: Check to make sure the size is appropriate.

 

How to read and interpret Crash Fixes crash log:

I don't know, I'm curious myself. The hex given isn't a formid, its a memory location by my understanding.

 

 

 

 

 

This is the easiest solution to the memory issue.

 

Install this manually into the "Skyrim" folder(with the TESV.exe)

SKSE Plugin Preloader

Install this manually by moving the SKSE folder into the "Skyrim\Data\" folder

Crash fixes

 

Then open the "Skyrim\Data\SKSE\Plugins\CrashFixPlugin.ini"

Modify the "UseOSAllocators=0" to "UseOSAllocators=1"

Save.

 

You should be good now.

 

I'd recommend removing the old methods of heap modification, ENBoost is fine.

 

[spoiler=Old Post]

I made this sticky because there is a sudden up-rise in CTD relating to the memory tweaks not working. It is flooding The General forum and has kind of spread to the memory blocks log mod topic

 

If you are curious how the memory tweaks work, there is an amazing post by keith over here.

 

There are several reasons for one to CTD or freeze but the most common one is that the SSME/Memory Patch 3.0/SKSE memory tweaks are not applying for some reason.

NOTE: SSME is no longer needed and should be removed and replaced with the SKSE Memory Tweaks.

Safety load is also not needed anymore and may cause unexpected issues.

 

 

First, please copy and paste the following into your SKSE.ini file

Make sure your ini is located as such ...\Skyrim\Data\SKSE\SKSE.ini

If you follow STEP check this out.

[General]
ClearInvalidRegistrations=1

[Memory]
DefaultHeapInitialAllocMB=768
ScrapHeapSizeMB=256

To find out if your memory tweaks are working correctly, download and install Memory Blocks Log.

Run the game through MO, I would recommend fully loading into the game but the main menu will suffice. After which close out of the game and open MO again if it closed on you. Go to the overwrite folder and navigate to the "SKSE\plugins\" folder and open up the memoryblockslog.log.

 

Your log should look similar to this:

logging of blocks enabled
logging max values only
Timer disabled
Block1 Block2
512MB 256MB

However, people that experience a lot of crashing will have something like the following:

logging of blocks enabled
logging max values only
Timer disabled
Block1 Block2
256MB 256MB

The most common "fix" is to open the "Modify Executables" window by clicking the gears on  the top part of MO and select the SKSE executable and add the Argument 

-forcesteamloader

It should then look something like this.

ForceSteamLoader.png

After which, click the modify button and then relaunch the game through MO then close it and make the comparison again. 

 

If your results did not change then make a post below, otherwise search for topics that already exist in the General forum. If your particular issue does not already exist then make a new topic and there will be someone to answer your questions.

 

  • +1 3
Link to comment
Share on other sites

Recommended Posts

  • 0

If you're using MO deleting the inis in that documents folder probably wont do anything. You'd need to delete the ones in your MO profile and re-edit again.

...  uh... what?

 

so i must delete the inis in documents folder - which will then be recreated when i launch the game, then exit game, and re-edit in MO.

 

how is that different from using the existing files?  surely they would be the same after the new file + edits?

Link to comment
Share on other sites

  • 0

Deleting the ini files in 'My Documents' will have no impact on your already created profiles in MO. So don't even bother with them.

 

Each time you create a new profile MO copies the contents of those ini files and creates its own versions in that profile's folder.

These, the 'My Documents' files, shouldn't be touched and left exactly as the game creates them.

 

Either delete the ones in the current profile or create a new profile to test if the ini settings are corrupted somehow. The 2nd option is the better.

 

Since you initially spoke of the map key crashing the game, have you changed that key assignment to anything non-vanilla?

Do you have a standard keyboard and language setting in Windows?

Have you checked that a comlpletely standard game with NO mods at all does this?

If working backwards from what you currently have setup is proving fruitless, work the other way.

Start from a basic install and add what you believe to be the problematic mods until the CTD happens, then remove all but the last installed and check to see if it just that one or a conflict with a previous.

  • +1 1
Link to comment
Share on other sites

  • 0

You go to your MO folder then delete the ones located in the MO profiles folder for the profile you'd like to delete the ini settings from. Going into the ini editor in MO and ctrl-a to select and then pressing delete should do the trick as well. Then just launch the skyrim launcher from MO and it should regenerate the files.

Link to comment
Share on other sites

  • 0

Since you initially spoke of the map key crashing the game, have you changed that key assignment to anything non-vanilla?...

no, its when i try to access the map - with the M key or through the menu.  it crashes regardless of the option i choose.  and i've played skyrim before with no problems accessing the map. (i have over 450 hours logged in skyrim).

 

i will give the delete .ini thing a try tonight if i get a chance..

Link to comment
Share on other sites

  • 0

omg!!!  the problem is in my MO ini files!

 

i first replaced the ini files with my original ini files created by skyrim when you run the normal launcher (i have a habit of keeping originals).

 

loaded game, tried to access map - crashed to desktop.  ok, problem not in the My computer > Documents > Skyrim .ini files

(i thought maybe i put something there that i shouldnt have).

 

 

then i physically removed the two .ini files in MO profiles directory, and guess what, it works now.  ffs.   

 

now how do i locate the problem in those files?   the ini tweaks are scattered in the mod's detailed instructions page.   is there not one page where all of the .ini tweaks (for STEP: Core & Extended) are located?  has anyone ever attempted to do this?

 

anyways, here are my ini files contents (from MO directory).  on memory side:  2Gb VRAM, 16Gb RAM

 

skyrim.ini

 

[General]

sLanguage = ENGLISH
uExterior Cell Buffer = 36
fDefaultFOV = 90
bDisableAllGore = 1
ClearInvalidRegistrations = 1
sIntroSequence = 
fFlickeringLightDistance = 8192
 
[Memory]
DefaultHeapInitialAllocMB = 768
ScrapHeapSizeMB = 256
 
[Display]
fShadowLODMaxStartFade = 1000.0
fSpecularLODMaxStartFade = 2000.0
fLightLODMaxStartFade = 3500.0
iShadowMapResolutionPrimary = 2048
bAllowScreenshot = 1
fDefaultWorldFOV = 90
fDefault1stPersonFOV = 90
fSunShadowUpdateTime = 0.25
fSunUpdateThreshold = 1.5
iTintTextureResolution = 2048
iPresentInterval = 0
 
[Audio]
fMusicDuckingSeconds = 6.0
fMusicUnDuckingSeconds = 8.0
fMenuModeFadeOutTime = 3.0
fMenuModeFadeInTime = 1.0
 
[Grass]
bAllowCreateGrass = 1
bAllowLoadGrass = 0
iMinGrassSize = 40
iMaxGrassTypesPerTexure = 7
 
[GeneralWarnings]
SGeneralMasterMismatchWarning = One or more plugins could not find the correct versions of the master files they depend on. Errors may occur during load or game play. Check the "Warnings.txt" file for more information.
 
[Archive]
sResourceArchiveList = Skyrim - Misc.bsa, Skyrim - Shaders.bsa, Skyrim - Textures.bsa, Skyrim - Interface.bsa, Skyrim - Animations.bsa, Skyrim - Meshes.bsa, Skyrim - Sounds.bsa
sResourceArchiveList2 = Skyrim - Voices.bsa, Skyrim - VoicesExtra.bsa
 
[Combat]
fMagnetismStrafeHeadingMult = 0.0
fMagnetismLookingMult = 0.0
f1PArrowTiltUpAngle = 0.7
f3PArrowTiltUpAngle = 0.7
f1PBoltTiltUpAngle = 0.7
f3PBoltTiltUpAngle = 0.7
 
[Camera]
fOverShoulderAddY = 0.0
fOverShoulderPosZ = 18.0
fOverShoulderPosX = 0.0
fOverShoulderCombatAddY = 0.0
fOverShoulderCombatPosZ = 24.0
fOverShoulderCombatPosX = 0.0
fOverShoulderHorseAddY = -72.0
fOverShoulderHorsePosZ = 50.0
fOverShoulderHorsePosX = 35.0
fActorFadeOutLimit = -100
fMouseWheelZoomSpeed = 60.0
f1st3rdSwitchDelay = 0.95
iHorseTransitionMillis = 001
 
[Papyrus]
fPostLoadUpdateTimeMS = 500.0
bEnableLogging = 0
bEnableTrace = 0
bLoadDebugInformation = 0
 
[Water]
bReflectLODObjects = 1
bReflectLODLand = 1
bReflectSky = 1
bReflectLODTrees = 1
 
[interface]
fBookOpenTime = 200.0
fSafeZoneX = 10
fSafeZoneY = 10
fSafeZoneXWide = 10
fSafeZoneYWide = 10
EnableContainerCategorization = 1
 
[VATS]
fVATSCastingAfterKillDelay = 1.2000
uVATSRangedPercentSneak = 100
uVATSRangedPercentGlobal = 100
bVATSMultipleCombatants = 1
bVATSForceRanged = 1
bVATSDisable = 1
 
[screenSplatter]
bBloodSplatterEnabled = 0
 
[imagespace]
bDoRadialBlur = 0
 
[Weather]
bPrecipitation = 0

 

 

 

 

skyrimprefs.ini

 

[General]

fBrightLightColorB = 1.0000
fBrightLightColorG = 1.0000
fBrightLightColorR = 1.0000
iStoryManagerLoggingEvent =-1
bEnableStoryManagerLogging =0
 
[imagespace]
bDoDepthOfField =1
iRadialBlurLevel = 2
 
[Display]
iBlurDeferredShadowMask =3
fInteriorShadowDistance =3000.0000
fShadowDistance =8000.0000
iShadowMapResolutionSecondary = 1024
iShadowMapResolutionPrimary = 2048
iShadowSplitCount = 2
iMaxAnisotropy =0
fLeafAnimDampenDistEnd =4600.0000
fLeafAnimDampenDistStart =3600.0000
fTreesMidLODSwitchDist =10000000.0000
fGamma =1.0000
fDecalLOD2 =1500.0000
fDecalLOD1 =1000.0000
fSpecularLODStartFade =2000.0000
fShadowLODStartFade =200.0000
fLightLODStartFade =3500.0000
iTexMipMapMinimum =0
iTexMipMapSkip =0
iWaterMultiSamples =0
iMultiSample =4
iShadowMode =3
bTreesReceiveShadows =1
bDrawLandShadows =1
bFull Screen =1
iSize H =1080
iSize W =1920
fMeshLODFadePercentDefault =1.2000
fMeshLODFadeBoundDefault =256.0000
fMeshLODLevel2FadeTreeDistance =2048.0000
fMeshLODLevel1FadeTreeDistance =2844.0000
fMeshLODLevel2FadeDist =10000000.0000
fMeshLODLevel1FadeDist =10000000.0000
iScreenShotIndex =5
bShadowMaskZPrepass =0
bMainZPrepass =0
iMaxSkinDecalsPerFrame =25
iMaxDecalsPerFrame =100
bFloatPointRenderTarget =0
sD3DDevice = "NVIDIA GeForce GTX 760"
bFXAAEnabled =0
iShadowMapResolution =4096
fShadowBiasScale =0.1500
iShadowMaskQuarter =4
iAdapter = 0
iShadowFilter=3
bShadowsOnGrass=1
bTransparencyMultisampling=0
bDeferredShadows=1
bDrawShadows=1
 
[Grass]
b30GrassVS =0
fGrassStartFadeDistance =7000.0000
fGrassMaxStartFadeDistance =7000.0000
fGrassMinStartFadeDistance =0.0000
 
[MAIN]
bGamepadEnable =1
bCrosshairEnabled =1
fHUDOpacity =1.0000
bSaveOnPause =1
bSaveOnTravel =1
bSaveOnWait =1
bSaveOnRest =1
fSkyCellRefFadeDistance=150000.0000
 
[GamePlay]
bShowFloatingQuestMarkers =1
bShowQuestMarkers =1
iDifficulty =2
 
[interface]
bDialogueSubtitles =0
bGeneralSubtitles =0
fMouseCursorSpeed=1.0000
bShowCompass=1
 
[Controls]
fGamepadHeadingSensitivity =1.0000
fMouseHeadingSensitivity =0.0125
bAlwaysRunByDefault =1
bInvertYValues =0
bGamePadRumble =1
bMouseAcceleration = 0
bUseKinect=0
 
[Particles]
iMaxDesired =750
 
[saveGame]
fAutosaveEveryXMins =15.0000
 
[AudioMenu]
fAudioMasterVolume =1.0000
fVal7 =1.0000
uID7 =1141057048
fVal6 =1.0000
uID6 =1141055670
fVal5 =1.0000
uID5 =3954
fVal4 =1.0000
uID4 =1208375409
fVal3 =1.0000
uID3 =94881
fVal2 =0.4000
uID2 =466532
fVal1 =1.0000
uID1 =554685
fVal0 =0.8000
uID0 =1007612
 
[Clouds]
fCloudLevel2Distance =262144.0000
fCloudLevel1Distance =32768.0000
fCloudLevel0Distance =16384.0000
fCloudNearFadeDistance =9000.0000
 
[TerrainManager]
fTreeLoadDistance =75000.0000
fBlockMaximumDistance =250000.0000
fBlockLevel1Distance =70000.0000
fBlockLevel0Distance =35000.0000
fSplitDistanceMult =1.5000
bShowLODInEditor =0
 
[NavMesh]
fObstacleAlpha = 0.5000
fCoverSideHighAlpha = 0.8000
fCoverSideLowAlpha = 0.6500
fEdgeFullAlpha = 1.0000
fEdgeHighAlpha = 0.7500
fEdgeLowAlpha = 0.5000
fTriangleFullAlpha = 0.7000
fTriangleHighAlpha = 0.3500
fTriangleLowAlpha = 0.2000
fLedgeBoxHalfHeight = 25.0000
fEdgeDistFromVert = 10.0000
fEdgeThickness = 10.0000
fPointSize = 2.5000
 
[Trees]
bRenderSkinnedTrees =1
uiMaxSkinnedTreesToRender =20
 
[Decals]
uMaxDecals =1000
bDecals = 1
bSkinnedDecals = 1
uMaxSkinDecals = 100
uMaxSkinDecalsPerActor = 60
 
[LOD]
fLODFadeOutMultObjects =15.0000
fLODFadeOutMultItems =15.0000
fLODFadeOutMultActors =15.0000
fLODFadeOutMultSkyCell=1.0000
 
[Launcher]
bEnableFileSelection = 1
bShowAllResolutions = 1
uLastAspectRatio = 3
 
[blurShaderHDR]
bDoHighDynamicRange = 1
 
[blurShader]
bUseBlurShader = 0
 
[Water]
iWaterReflectHeight=512
iWaterReflectWidth=512
bUseWaterDisplacements=1
bUseWaterRefractions=1
bUseWaterReflections=1
bUseWaterDepth=1

 

 

Link to comment
Share on other sites

  • 0

The skyrim based INI tweaks are at the top of the Guide. There shouldn't be any tweaks in the mod pages other than those that are specific to those mods, such as SKSE.ini changes. No Skyrim.ini nor SkyrimPrefs.ini tweaks are located in the mod pages. If there are, please notify us so we can change that.

Link to comment
Share on other sites

  • 0

Just completed a Skyrim Revisited Legendary Edition install.


 


The game crashes only when I am moving while outside, playing in first person view, but not when in third person view, not when I'm idle, and not when I am inside. 


 


Possibly it is a VRAM issue?


 


I'm giving GPU-Z a try but does anyone have any ideas on what in particular about first person view while moving outside that would crash my game?


 


Thanks


  • +1 1
Link to comment
Share on other sites

  • 0

Hi to all, i do not know what i am doing wrong, i have my skse folder with the ini (not txt extensio) in the folder following STEP SKSE installation (I use MO), and becuase i saw in other vids about skse installation differ i have that SKSE folder also in syrim/data, with the skse.ini in it

 

I loade both MemoryBlocksLog and MemoryBlocksLog in both SKSE folder, not MemoryBlocksLog.log shows anywhere

 

What am i doing wrong?

Please, help, now i don't even now if the memory patch is workign, having very randoms CTD's sometimes takes long time, sometimes having several of them in a row.

Edited by richardo111
Link to comment
Share on other sites

  • 0

You don't need two SKSE folders. If you've added the needed .dll files and launcher to Skyrim directory and then added the SKSE scripts as a mod via Mod Organizer that should be all you need. Create your ini file in the Mod Organizer made SKSE folder.

 

Don't add a second SKSE folder and ini to Skyrim/Data.

Edited by Nozzer66
Link to comment
Share on other sites

  • 0

so...

Back to Blocks 1 size discussion.

 

I noticed that I have been getting ILS significantly more often which isnt a big deal because I'm just comparing textures and whatnot but I took a look at my memoryblockslog.log and it showed this and Im curious if anyone wants me to try some stuff? I'll likely increase blocks 1 and move on but its there.

1d1fs9P

Link to comment
Share on other sites

  • 0

I'm getting stuck at the loading screen. Once the loading screen is "complete" and I should appear ingame it only displays the frozen image of the loading screen, but I can hear the sounds ingame.

It al started with me exiting the game and when next opening and trying to load my save a message appeared saying there was content no longer avaible. So I went to MO and checked wich esp was missing. It was the BirdsHFclean.esp .

I activated it and tried loading my save. No error message appeared. But then the issue I described before happened.

Any ideas what it could be?

 

I have already used Memory Blocks Log

[spoiler=Memory]logging of blocks enabled
logging max values only
Timer disabled
Block1 Block2
512MB 256MB
85 8
85 8
85 9
85 10
85 11
85 12
85 13
85 14
85 15
85 16
85 17
85 18
85 19
85 20
85 21
85 22
85 23
85 24
85 25
85 26
85 27
85 28
85 29
85 30
85 31
85 32
85 33
85 34
85 35
85 36
85 37
85 38
85 39
85 40
85 41
85 42
85 43
85 44
85 45
85 46
85 47
85 48
85 49
85 50
85 51
85 52
85 53
85 54
85 55
85 56
85 57
85 58
85 59
85 60
85 61
85 62
85 63
85 64
85 65
85 66
85 67
85 68
85 69
85 70
85 71
85 72
85 73
85 74
85 75
85 76
85 77
85 78
85 79
85 80
85 81
85 82
85 83
85 84
103 84
103 85
103 86
103 87
103 88
103 89
103 90
103 91
103 92
103 93
103 94
103 95
103 96
103 97
103 98
103 99
104 99
105 99
106 99
107 99
108 99
108 100
109 100
109 101
110 101
111 101
111 102
112 102
113 102
113 103
114 103
115 103
116 103
117 103
118 103
119 103
120 103
121 103
122 103
123 103
124 103
125 103
126 103
127 103
128 103
129 103
130 103
131 103
132 103
133 103
134 103
135 103
136 103
137 103
138 103
139 103
140 103
141 103
142 103
143 103
144 103
145 103
146 103
147 103
148 103
152 103
152 104
153 104
154 104
155 104
156 104
157 104
158 104
159 104
160 104
160 105
161 105
162 105
163 105
164 105
165 105
165 106
165 107

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.