Category "memory-leaks"

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/

Is there any way to remove bindings from all bound elements on a form close event?

According to this document, the following code causes a memory leak in WPF: myDataBinding = new Binding("Children.Count"); myDataBinding.Source = myGrid; myDat

Why ASP Net Core 2.2 do not release memory?

I'm testing ASP Net Core 2.2 using default project made from: Visual Studio > File > New > Project > ASP NET Core Web Application > Next > Cr

Finalizer thread got blocked

I'm doing postmortem analysis on a high memory pressure .net application using WinDbg with a process dump and this process is a Windows service. with the follo