Comments (2)
The problem is not in the library, the error it shows you is an issue in the memory of your server. You are caching or in RAM and add to that the processes that your application is running, until a moment comes when that memory is exhausted and when the garbage collector releases a little of that memory the error disappears. You must be careful because when your application grows or traffic increases, those errors can be more frequent. You should analyze when it is convenient to cache the responses from your server
from node-cache.
I can guess it may happen when you cache too many data. Also you should keep it on mind there is a difference between server and your local machine power. For caching a large amount of data you should take a look on redis
from node-cache.
Related Issues (20)
- Npm test stuck if cache is used with TTL HOT 1
- Adding support for array values HOT 2
- Singleton on cluster mode HOT 3
- how do i get cache and update time expired? HOT 1
- size and memsize gives always 0 result HOT 1
- cache key length limit HOT 1
- Graphql result sometimes broken
- Cache per req.body variable
- Item written to cache by Nextjs middleware doesn't exist when reading from the cache HOT 2
- If the cache timeout is sufficiently big, it doesn't work. HOT 3
- Does it auto clean HOT 2
- How can I cache a third party json? HOT 1
- README typo
- calling put with TTL value within Promise chain fails HOT 5
- keys() writes checks that get() can't cash
- support more operation maybe better
- Is this a bug about `this.del` function HOT 2
- Data not cached HOT 1
- Is this library a good replacement for localstorage and session storage for security HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-cache.