How to move DerivedDataCache from C:/

Hey guys,

I would like to know, if I can remove or move the folder “DerivedDataCache”. It’s stored on my SSD (C:\Users\bobmartien\AppData\Local\UnrealEngine\4.4) even if I installed UE4 and my projects on my other Disk.
This guy is more than 10Gb.

I found on Hourence that we can move it from C:/ to the project folder by adding these lines in the DefaultEngine.ini

[RocketDerivedDataBackendGraph]
MinimumDaysToKeepFile=7
Root=(Type=KeyLength, Length=120, Inner=AsyncPut)
AsyncPut=(Type=AsyncPut, Inner=Hierarchy)
Hierarchy=(Type=Hierarchical, Inner=Boot, Inner=Pak, Inner=EnginePak, Inner=Local)
Boot=(Type=Boot, Filename=”%GAMEDIR%DerivedDataCache/Boot.ddc”, MaxCacheSize=512)
Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34,
FoldersToClean=-1, Path=”%GAMEDIR%DerivedDataCache”)
Pak=(Type=ReadPak, Filename=”%GAMEDIR%DerivedDataCache/DDC.ddp”)
EnginePak=(Type=ReadPak, Filename=”…/…/…/Engine/DerivedDataCache/DDC.ddp”)

So, I tried it. I created a new blank project with the starter map.
And added these lines in the DefaultEngine.ini (E:/Myprojectname/Config).
I opened the map and now everything is lagging. It’s just the starter map.

I did something wrong ? How to move DerivedDataCache from C:/ ?
How I can check if it’s working ?

What do you have in your YourProject/DerivedDataCache folder after you opened project file?

Hey bobmartien-

After adding the lines you mentioned to the DefaultEngine.ini did you remove the folder from the original location? Also, in the line:

“Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34, FoldersToClean=-1, Path=”%GAMEDIR%DerivedDataCache”)”

you may need to change “Path=…” to the location where you want the DerivedDataCache to save.

Cheers

Hello , thanks for helping me :slight_smile:
It’s safe to delete this folder from my c:/ ?

A file called Boot.ddc

Yes, it is safe to delete. Restarting the editor will recreate the folder (I believe in the new location) and it will have to recompile shaders.

Hey .

I did what you said.
-Delete the folder from my C:/
-Add the path each tome I see '%GAMEDIR%

Now the level is open but I can’t use the editor.
The level take 75% of my RAM and 30% of my UC and crash.

And btw there is just Boot.dcc in the DerivedDataCache of my project.

Here is a post regarding the same issue: DerivedDataCache - 3 GB on C: - Feedback & Requests - Epic Developer Community Forums

Specifically, the response by shows that you may need to add your file path to more places than the one I suggested earlier. Just make sure you change the bold part of his response to match the file path you want to you for your projects.

Okay, thanks for your help !