question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The cache limit is too small

See original GitHub issue

I understand that Issue is not related to the code of this repository, but I would like to discuss with many people, so I open Issue here. (and I know community forums exist. but many people probably don’t know yet.)

First, I really appreciate the GitHub team for adding the cache feature to GitHub Actions. That’s great for us! But, In recent years, node_modules is too large. 200MB can’t cover it. It’s the same in other languages. For example, using esy to install the opam packages, it can easily exceed 800MB. Is there a way to increase the cache limit? or if individual cache limits are removed, it becomes a relatively realistic limit. I know that if the file size is too large, save/restore may insanely slow down. but it shouldn’t be limited on the cache action side.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:121
  • Comments:114 (62 by maintainers)

github_iconTop GitHub Comments

69reactions
joshmgrosscommented, Jan 6, 2020

The latest release has bumped the per-cache limit to 2GB to match the per-repo limit https://github.com/actions/cache/releases/tag/v1.1.0

47reactions
joshmgrosscommented, Nov 5, 2019

The individual limit has been bumped to 400MB, ensure that you’re pinned to v1 or v1.0.1 to get that update. We’re working on increasing it further.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server cache size is too small for database %1
For example, a database server hosting a 21 GB database would issue this warning if the server's maximum cache size was less than...
Read more >
What is Chrome default cache size limit?
The default size is calculated at start time. The maximum size of the cache is calculated as a percentage of available disk space....
Read more >
Project Cache size limit exceed
150 MB is too small to set as the limit but I'm surpised that your current cache is 1.1GB. How many projects /...
Read more >
Default shared cache size is too small · Issue #1164
The default shared cache size is 16MB. I believe this dates back to a Linux default maximum setting for creating shared memory using...
Read more >
What physical factors limit the size of L1 cache
So the L1 cache needs to be small, because is the area it takes becomes too big, the distances the electrons have to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found