For the past few months, my service has struggled with memory issues. Upon analyzing the heapdumps, I see that Timeout takes up a large amount of retained memory, usually about 70%, while the shallow memory is actually about 29%. When I expand the retainers of one of the Timeout objects, I see a cascading _idlePrev in Timeout, some of them cascade for a lot longer than this. For context, the app is a NodeJS Express app and we use opossum as a circuit breaker and Node Fetch to make requests. I know that's not nearly enough information to diagnose the issue, but I was wondering if anyone has seen anything like this and what could cause a stack like this to be retained in memory.

What could cause a large number of Timeout objects to be retained in heapdumps for a NodeJS heapdump?
101 Views Asked by Gautam Jethwani At
0
There are 0 best solutions below
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in EXPRESS
- How do I link two models in mongoose?
- Unable to Post Form Data to MongoDB because of picturepath
- Processing multiple forms in nodejs and postgresql
- pnpm firebase app "Could not find a declaration file for module 'mime'"
- Products aren't displayed after fetching data from mysql db (node.js & express)
- What are some MERN projects that will grow me from junior dev to senior
- How Can I Make Dynamic Query In Sequelize with nodeJs
- Express session is not seened in server code
- Get Type Error when using .countDocuments with mongoDB
- Express JS Serve React JS Site With Path Longer Than Just Subdirectory
- Getting a Large Error Output When Calling MongoDB/Mongoose Functions Without an Error Message
- axios.post do not return anything when api call is made within backend
- bcrypt.compare receiving illegal argument string, undefined
- User is connecting to socket.io server twice
- i got "TypeError: data.map is not a function" and i can't get the data from backend
Related Questions in MEMORY-LEAKS
- Would event listeners prevent garbage collecting objects referenced in outer function scopes?
- Top output says my app uses 33 gigs of memory but how?
- My React Nextjs web app is using up 100% of my ram and crashing when i try to do changes. Does anyone know how to fix this or what may be the cause?
- Trigger Warning: Mysterious Memory Spike on Google Drive Upload using Google Cloud Run
- Do I need to clear the cache manually when using PredicateSpec.readBody in order to avoid memory leaks?
- Interpreting Chrome memory tool's results for a memory leak?
- Why does setting flags on an NDArray view result in allocations? Are they guaranteed to be bounded?
- How to dispose delegate in blazor or c#
- Comment optimiser l'utilisation des resources mémoires (RAM) sur flutter?
- Chained calls may cause memory leaks?
- Unable to fix generator memory leak despite knowing where it's coming from
- Jest is taking a lot of heap memory with (strings)
- Cause of this SwiftData memory leak?
- AES-CTR PRNG Implementation in OpenSSL with Consistent Output and Memory Leak Issues
- Getting an error when triying to read a file: zsh: trace trap
Related Questions in HEAP-DUMP
- OOM (Java heap) error due to org.postgresql.core.Field
- How to check the memory leak from the given retained path which contains webviewNode in the Electron app
- Java process mem is less as compared to shown in grafana
- Chronicle Queue Heap memory issue
- How to open heap dump in netbeans 20
- Unexpected call to Finalizer::register
- Java Memory leak: Java.lang.ref.finalizer object
- JBOSS service getting hanged on production server
- Out of memory issues within Matillion
- Profilers not able to take heap/thread dump
- How to Identify what threads are in Queue via Java Heap Dump
- Opening and reading a heapdump file not working on IntelliJ
- Generate Java heap dump programmatically on AIX
- How can I extract raw byte arrays stored in Map<?, byte[]> objects from a Java heap dump?
- Eclipse memory analyzer Heap dump analysis
Related Questions in CIRCUIT-BREAKER
- Consider defining a bean of type 'org.springframework.cloud.circuitbreaker.resilience4j.Resilience4JCircuitBreakerFactory' in your configuration
- Circuit Breaker not closing after opening
- How to migrate a standard CircruitBreaker policy from Polly V7 to V8?
- How should I handle POST requests in circuit breaker design pattern?
- Spring Cloud Gateway Circuit Breaker Blocks Load Balanced Route
- Unresolved dependency: io.github.resilience4j:resilience4j-spring-boot2:1.17.1
- Can we use resilient4j like dependency as circuit breaker or ratelimit for database calls?
- API level Circuit Breaker Implementation
- Resilience 4j annotations based CircuitBreaker fallback method getting called instead of Feign error decoder
- Use resilience4j CircutiBreaker with Retry module
- In Spring Boot 3.2.0, circuitbreaker has error Handler dispatch failed: java.lang.StackOverflowError
- Create the opossum circuit breaker in node js as a Singleton instance
- Resillence4J for SpringBoot - CLOSE Circuit
- Seeking Enhancements for RestClient Configuration
- Polly V8 CircuitBreaker behavior is different, the circuit gets stuck open
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?