20,477 questions
1
vote
0
answers
61
views
Severe RAM leak when running OpenVINO inference on Raspberry Pi 5 (ARM) – even with infer() only
I am developing an object detection project running on a Raspberry Pi 5.
On the camera side (Picamera2 / libcamera), everything works perfectly fine: when the camera runs alone, RAM usage is ...
0
votes
0
answers
61
views
Memory leak in .zstd file decompression
I am trying to receive .zstd file, decompress the file to json and save in my S3 storage
My code is working but I see memory leak (see RAM usage image)
File size is 300 Mb.
My code
import requests
...
Best practices
0
votes
2
replies
107
views
What are some simple / practical ways to reduce memory usage in a React Native app?
I’m looking for simple, commonly used techniques to reduce memory usage in a React Native app.
One example I’m already using is avoiding unnecessary screen instances in React Navigation
(e.g. using ...
0
votes
1
answer
76
views
Fix memory leak in logging.Handler
I am writing a custom logger (with custom handler). Found out that I have a memory leak when I am using HttpFluentHandler. I confident that problem deals with the handler, because there are no memory ...
0
votes
0
answers
54
views
Visual Studio Performance Profiler reports memory leaks on one system but not another with same code base
Details: I’m profiling a C++ application using Visual Studio Performance Profiler (Memory Usage tool). The code base is identical across two systems, but memory leaks persist on one machine while the ...
0
votes
0
answers
71
views
Why does a module-level Zustand store cause a memory leak in Next.js App Router SSR?
I have a memory leak in a Next.js 15.3.3 App Router app running on GKE. Heap snapshots show that Zustand stores created per request are never released, and memory grows steadily until the container is ...
0
votes
0
answers
100
views
Why large string log data cause the java progress memory high?
problem--why the large string log data cause the jvm memory go high?
problem: the java process is using more and more memory over time.
jvm argument:java -Xmx5120M -Xms5120M -XX:NewRatio=1 -XX:...
0
votes
1
answer
87
views
Unfreeable Memory when Using Capstone
I disassembled a 7,838,304-Byte portion of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so using Capstone as shown below:
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#...
0
votes
0
answers
122
views
In Kotlin, Is there a way to hold weak reference to a function?
I realized that Kotlin is missing a built-in event mechanism similar to what we have in C#.
So I tried to implement my own and ran into a problem that can easily lead to memory leaks.
My original idea ...
1
vote
0
answers
87
views
Realm Database Operations Causing UI Hangs and Scroll Lag During Extensive Read/Write (iOS 16, SwiftUI)
I have severe UI hang issues whenever my sync worker is running. The app experiences:
Screen navigation freezes
Scroll lag and stuttering
Unresponsive UI during data synchronization
The root cause is ...
1
vote
0
answers
124
views
does database chunk() have a memory leak?
In laravel, I have a query that searches thousands of rows in a database, and I trying to compile that into a CSV file. In attempt to reduce memory usage, I get 500 rows at a time and output the CSV.
...
2
votes
1
answer
256
views
I can't find the memory leak [closed]
My function contain a memory leak, probably related to a failing malloc situation.
After extensive research and adding frees, I still can't find the edge case where the memory leak occurs.
Below is ...
3
votes
0
answers
141
views
Kivy RecycleView generates more and more objects that are not collected by Garbage Collector
I used the example from https://github.com/kivy/kivy/blob/master/examples/widgets/recycleview/basic_data.py and modified it only to provide some garbage collector stats. What I see is that objects are ...
1
vote
0
answers
71
views
@angular/ssr v20+ with Express: 1+ Second Event Loop Blocking After TransferState Serialization
We're experiencing a consistent 1-1.5 second delay in our Angular SSR v20.2.2 application that occurs after all Angular rendering completes but before the response is sent to the client. The delay ...
1
vote
0
answers
95
views
Memory Leak in Flask-SQLAlchemy 2.5.1 with SQLALCHEMY_RECORD_QUERIES - sqlalchemy_queries List Growing Indefinitely
Environment
Flask: 2.0.3
Flask-SQLAlchemy: 2.5.1
SQLAlchemy: 1.4.41
Deployment: Gunicorn with thread workers
Traffic: ~4 RPS in production
Observed Issue: Memory grows from 35-40% to 90% over 30 ...