banner
Rating
Voted0

Memory leak fix (for any GPU)

3
Mod version:v1.0
Game version:all
The mod has been successfully tested for the absence of viruses
17649.72K434.69K

Report mod

  • image
modalImage

About This Mod

This memory leak occurs when you use the RT GI and VRAM of your GPU reaches more than 95% usage during a game or even after several downloads/quick travels, then soon after the memory leak problem is started, you can observe this by using the PCI-E BUS of your GPU (you can check this in, for example, the GPU-Z on the sensors tab) will grow 2-3 times higher, this behavior causes a massive FPS drop with a stutter all the time until you restart the game or exit the menu.


This fix is mainly suitable for GPUs with less than 20GB of VRAM for 4K resolution or <16GB for 1440p and <12GB for 1080p.


How to install:


1) Extract "0_TW3_Memory_Leak_FIX.zip" and copy this ini file:


0_TW3_Memory_Leak_FIX.ini


2) to the following folder: [The Witcher 3 Wild Hunt]\bin\config\platform\pc


*Sometimes, perhaps the first time you start after applying the ini mode, the game can automatically change the texture settings to "Low", but they will not work as low, only at the quality that was before, but after changing them back to High or what you had, it will remain the same.


To uninstall, simply delete this ini file.


The ini file settings for memory leak correction include:


[Rendering]

EnableCustomMipBias=true (this setting includes ForceCustomMipBias in the engine to make it work and change)

TextureMipBias=-0.2 (this setting does not work when EnableCustomMipBias= true, but to be calm, I have set -0.2)

TextureInFlightBudget=256 (I also don't understand why CDPR set TextureInFlightBudget to 500 for all texture settings, even Low, while in version 1.32 even Ultra was 128. So I set it to 256 and noticed a slight improvement in VRAM usage).

ForceCustomMipBias=-0.5 <- smaller number = better texture quality, but greater VRAM consumption, you can decrease this value, but it will increase VRAM consumption more and more. For RTX 3070/3080, perhaps the value of ForceCustomMipBias about =-1.0 will be normal or even lower, but you should check yourself to find the "sweet point". (The maximum value is -2.0, but it almost disables this correction, if you want more then it is better to change the textures to Ultra with value = about -1.0 maximum)


Similar Mods/Addons

Game Version *

all (0_TW3_Memory_Leak_FIX 1.1-8083-1-1-1681798959.zip)