Announcement

Collapse
No announcement yet.

Saving HDD Space for users with small SSD

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Saving HDD Space for users with small SSD

    If some have noticed a good chunk of HDD space missing its because of this folder:

    C:\ProgramData\Epic\Engine\DerivedDataCache

    This is a cache for your assets or so it seems from reading places. My problem was the fact that this was eating away at my poor little 120 GB SSD, atleast 7 GB of data.

    So for those that want an easy way to move this folder you can just make a symbolic link with the following:

    mklink /d "C:\ProgramData\Epic\Engine\DerivedDataCache" "D:\U4_Temp\DerivedDataCache"

    The first directory is UE4s normal directory path for this cache. "C:\ProgramData\Epic\Engine\DerivedDataCache"

    The second is where I want to create the physical link to. "D:\U4_Temp\DerivedDataCache"

    Please note i created D:\U4_Temp manually.

    All you have to do is rename your DerivedDataCache to xDerivedDataCache and run the above command in CMD or in a bat file to create the link. Not that I deleted my cache folder so i had to wait about 5 minutes for UE4 to recreate the files on my D drive.

    Hope this helps...


    And remember its not the size of the HDD its how you use it!
    12 CatBlack Studios - One man with a dream, to create amazing things...
    RPG Engine Toolkit: https://www.unrealengine.com/marketp...engine-toolkit
    Auto Terrain Cover V3: https://forums.unrealengine.com/show...ver-V3-Release
    Youtube: https://www.youtube.com/channel/UCuT...VDuzeIeJ6_j1pA
    Facebook: https://www.facebook.com/pages/12-Ca...52913014823124

    #2
    This is a good tip, though I'm probably not the only one that has the SSD to help improve the performance of UE4, in which case you want to keep as much there as possible.

    Be nice when SSD's drop down to the price of HDD's, but with the same/similar capacity
    Rule#21: Be polite, be professional, but have a plan to kill everyone you meet.

    Comment


      #3
      thanks alot for that
      Game Artist

      Comment


        #4
        Looks like if you wish to do this, you will need to do it for every new version. My folder path, for example, is AppData\Local\UnrealEngine\4.1\DerivedDataCache.

        I really wish there were an option to indicate where the AppData folder should reside for UE4 so that all version go there.
        It is by will alone I set my code in motion.
        It is by coding that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning.
        It is by will alone I set my code in motion.

        Comment


          #5
          thats nice to know thank you.
          12 CatBlack Studios - One man with a dream, to create amazing things...
          RPG Engine Toolkit: https://www.unrealengine.com/marketp...engine-toolkit
          Auto Terrain Cover V3: https://forums.unrealengine.com/show...ver-V3-Release
          Youtube: https://www.youtube.com/channel/UCuT...VDuzeIeJ6_j1pA
          Facebook: https://www.facebook.com/pages/12-Ca...52913014823124

          Comment


            #6
            What would be very cool would be a tool built into the game for automatically and manually migrating game assets back and forth between an hd and a ssd.

            Comment


              #7
              Since 4.18 you can now set the path for the DerivedDataCache directly trough EditorPreference Global Settings.
              this was posted by spaceharry in this [thread][1]. I am only passing on his information.


              [1]: https://answers.unrealengine.com/que...nt-726429-form

              Comment


                #8
                Originally posted by solarstoned View Post
                Since 4.18 you can now set the path for the DerivedDataCache directly trough EditorPreference Global Settings.
                this was posted by spaceharry in this [thread][1]. I am only passing on his information.


                [1]: https://answers.unrealengine.com/que...nt-726429-form
                that is really nice to know!
                12 CatBlack Studios - One man with a dream, to create amazing things...
                RPG Engine Toolkit: https://www.unrealengine.com/marketp...engine-toolkit
                Auto Terrain Cover V3: https://forums.unrealengine.com/show...ver-V3-Release
                Youtube: https://www.youtube.com/channel/UCuT...VDuzeIeJ6_j1pA
                Facebook: https://www.facebook.com/pages/12-Ca...52913014823124

                Comment

                Working...
                X