[Guide] How to FIX "mods/memoryLimit" error when downloading mods

So today, I also got this error
image

I tried a few things that I suggested to fellow mod enjoyers, but here is what ultimately worked

3 Likes

HOW TO FIX

Follow the following steps to fix the error! (If you are on PC)

  1. Exit your Enlisted Client. Make sure it closes completely and not running in the background (which it shouldn’t normally)

  2. Navigate to the cache location %localappdata%/Enlisted/ (= C:/Users/<your Windows user name>/appdata/local/Enlisted/ if your Windows is installed to the C drive)

    • The actual cache is !!ALWAYS!! at %localappdata%/Enlisted/ (= C:/Users/<username>/appdata/local/Enlisted/) for Windows, REGARDLESS of where you install Enlisted (external harddisk, C drive or not), REGARDLESS of you downloading the game via Steam or Gaijin Smart Launcher.
  3. Then, find a folder named downloads. Open it. ![image|1000x774, 30%]

  1. Open up the mods folder and delete the httpCache folder inside

image

  1. Done
3 Likes

Explanation

As you can see here, the httpCache folder is 320 Megabytes large. It might have been the upper limit of the cache.
By deleting the cache, you also free up the disk space.

I think the problem is the devs forgot to handle the cache and it allowed it to keep growing … until the game cant handle it

A bug report has been submitted to Community Bug Reporting System
Hopefully, they would take the trouble and read it

4 Likes

3 years of suggesting to increase the memory limit, and we’re still here in 2025 with the same issue.

not even a single " clear cache button " from the base game.

so much for taking feedbacks uh…

1 Like

I know right? 6 Months later.
But I want to state (in the sense of software design suggestion) is, that you (the developer) should pratically be looking at deleting old cache, instead of increasing the limit (cuz you know you are gonna hit it some day)

This is just a lot more unnecessary work to add a button in the ui, doing it silently in the background is, in my opinion, better for 90% of the users, since they are less technical.
(And the more technical people will still appreciate an automatic cleaner, since why not)

And why would you want to keep months/years old cache? Cache is called CACHE for a reason.

Well not really what I was thinking, but these files act more like temporary files

Which you can see the meaning above… I want to suggest that that they should have been deleted after use.

  • I should mention that the file being there does improve loading speeds for custom maps that the user have previously played, since it doesn’t need to re-download again and unpack again.
  • But for modern and reasonable hardware (like not fricking ancient Windows XP era PC and not 10 MB/s potato network), one can never if barely notice a difference.
  • And for most players, for 90% of the given versions of a mod they load into, they would play once or twice and then never touch it again, or author updates the mod (which, yes, it creates a separate folder since its a complete different upload ID).
    So it will create a ton of useless junk folders and pile up over time.

I must be fair and appreciate the caching, on the other hand

  • Since it does help save bandwidth and time for people that play a particular mod often (such as the developer of the mod, like me!). It helps out a ton when you don’t need to download the mod again if you are launching it in a lobby yourself.
  • The mods/memoryLimit error is also here to make sure users can’t overload their storage with cache (which, the limit of 320 MB data will fit on 233x :floppy_disk:, cuz I can’t find another more funny measurement unit, so deal with it)
  • Side note, which is kinda important: I remember seeing the patch notes 3 years ago, that the devs made a stop for the undisturbed growth of the logs~enlisted folder, where all the .clog once remained undisturbed and grow in Gigabytes.
    The logs are now created into the .game_logs, but are still regularly cleared by checking if they are more than 7 days old.
    Can’t they just apply this exact logic into the download/mods/httpCache/ directory? The only change they need to code is to handle folders :open_file_folder: instead of files :scroll: (which can be a headache, at least for me in Python)

Yes, i hit the 320MB limit again last night at 4am
image

Does allowed me to discover a fun fact: the game checks the httpCache folder once for its size at launch and sets a switch to disable mod download.
I.e. You are required to restart the game to let it recheck the folder after you delete the cache

@Bigote0070 could you read my overly long text here and kindly forward the useful technical information to people responsible for the sandbox/mods part of the game? Many thanks for helpikg me edit post 2 btw.
I can make a formal suggestion at Suggestions if it is required

2 Likes