Category "memory-leaks"

What in this python program can make my memory goes to sky and freeze the program?

I have written a python program that connect to my mqtt server and process the data! BUt the memory start very low and get higher and higher over time! I would

Memory Leaks in NODEJS With Chrome-DevTools - Get variables that are causing memory leaks and App to crush?

We're experiencing crushes with our NODEJS app , for some reason we have somewhere in the code some variables that are not getting released , and they should be

Python tracemalloc, what is size and count?

I am using the tracemalloc library to pinpoint memory concerns in my application. This is the code that I am using. tracemalloc.start() snapshot

Delphi FastMM4 how read MemoryManager_EventLog.txt?

I have added FastMM4 to my project for detect a memory leak program MyProg; uses {$IFDEF DEBUG} FastMM4, {$ENDIF} ...other uses on form close FastM

Cannot find memory leak in my Express.js Jest tests

I've now spent some time trying to find memory leaks in my Jest tests, and even though I've successfully tackled some, there's still quite a lot of memory being

DOM Parser Chrome extension memory leak

The problem I have developed an extension that intercepts web requests, gets the HTML the web request originated from and processes it. I have used the DOMParse

How to empty a yattag doc

I'm having rather good results in using yattag to generate HTML code within my python project. But there is something I don't understand and I actually couldn't

addressSanitizer: heap-buffer-overflow on address

I am at the very beginning of learning C. I am trying to write a function to open a file, read a BUFFER_SIZE, store the content in an array, then track the cha

Do I need to unsubscribe from an Observable if the Observable is finished with?

Let us say I have an Observable (hot, doesn't complete), and I subscribe to it. Ordinarily when I am finished with the Subscription I have to unsubscribe it to

NodeJs - RSS and external memory increases significantly, heap memory increases slowly. What can be the causes?

In my NodeJS application: 1.Is it correct that RSS and external memory increases significantly, but heap memory increases slowly? Is it correct that the externa

docker for mac memory usage in com.docker.hyperkit

I'm running docker desktop community 2.1.0.3 on MacOS Mojave. I've got 8GB of memory allocated to Docker, which already seems like a lot (that's half my RAM). S

Getting memory leaks with okhttp

When I make a get request to an API, over and over again I see that every request the memory goes up and up until 1gb of ram usage. closing the response and au

Is this the proper way to use PHPicker in SwiftUI? Because I'm getting a lot of leaks

I am trying to figure out if my code is causing the problem or if I should submit a bug report to Apple. In a new project, I have this code: ContentView() impor

Lazy initialisation and retain cycle

While using lazy initialisers, is there a chance of having retain cycles? In a blog post and many other places [unowned self] is seen class Person { var

Difference in memory leaks using _crtBreakAlloc compared to UMDH

While trying to diagnose memory leaks with the {,,ucrtbased.dll}_crtBreakAlloc method, I found a memory leak which depends on timing in a multithreaded environm

Why does ctypes.cast() appear to trigger a memory leak?

Using python 3.9.9 (on Windows 10), I've been experiencing 'Out of memory" related issues for an application that makes heavy use of ctypes. I was able to boil

Memory leak with Mongo Java Connection

I am constructing MongoClient Connection in the below manner : public static synchronized MongoClient getInstance(String mongoDbUri) { try {

In an Angular 8 SSR app, there is a memory leak

I have an angular SSR app that causes memory leaks on the server it keeps on increasing memory on the server when the application is used and opened by many use

Leaking memory parsing TSV and writing CSV in Python

I'm writing a simple script in Python as a learning exercise. I have a TSV file I've downloaded from the Ohio Board of Elections, and I want to manipulate some

Memory Leak detection in Lazarus - again

I am using Lazarus 2.0.4 on Windows 10. Trying to track memory leaks in a quite large project I tried to familiarize myself with the heaptrc and lineinfo units/