20,480 questions
2
votes
1
answer
178
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 ...
1
vote
0
answers
57
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 ...
0
votes
1
answer
147
views
Why do Images leave giant piles of RAM behind them? [closed]
I am currently working on a .NET 9 WinForms program that contains an ImageViewer, which is a seperate window where you can scroll through a series of images.
My problem is that even after closing the ...
-3
votes
1
answer
36
views
Non JS objects leak in highcharts on continuous charts update [closed]
I tried to render charts using highcharts, but have been observing non js memory increase, when i was updating my charts continuously and calling redraw API.
i used below apis
series.setData(data, ...
3
votes
1
answer
98
views
Why is AnyEvent slowing down or leaking memory?
While writing a new Perl module which was capable of using AnyEvent, my benchmarking tests showed that it was slowing down dramatically over time. Turning off AnyEvent cured the problem, which ...
1
vote
0
answers
59
views
Python Flask app connected to Cassandra Astra DB RAM memory issue
I'm running a minimal Python Flask app with one API endpoint which make a simple call to retrieve data from the a Cassandra Datastax DB inside a for loop.
# Day-2-Day Power
@app.route("/d2d_new_2/...
2
votes
1
answer
165
views
Native objects do not trigger garbage collection
I am trying to do some linear algebra in Kotlin/JVM and I have two ways of doing it:
Using Apache commons-math, which implements matrix multiplication purely on the JVM
Using OpenCV's Mat class and ...
1
vote
1
answer
166
views
Direct memory is not released when downloading files
I have encountered a memory management problem in a Spring Boot application, and would like to get advice on how to properly clean up direct memory.
Configuration:
JDK: OpenJDK Runtime Environment (...
0
votes
0
answers
128
views
Python logging MemoryHandler leaks memory?
In a main.py file I have following code:
import time
from v1 import log, ServiceLogger
from logging.handlers import MemoryHandler
class Service:
h = MemoryHandler(1000)
id = None
log = ...
3
votes
0
answers
143
views
Python service memory leaks on Ubuntu at scale
I have a python based service that uses libraries such as requests or curl-cffi to fetch the content of our webpages which we currently are testing for scale.
As the expected response is the content ...
0
votes
0
answers
21
views
MemoryLeakage VmRSS is increased when alloc/free often, is it memory fragmentation?
I try to do getifaddrs(ifaddr)/freeifaddrs(ifaddr) in a while loops and I find the VmRSS of daemon is increased by 4kB slowly.
Note: ifaddr value is the same when I call getifaddrs & freeifaddrs.
...
1
vote
0
answers
280
views
How to fix "vector memory limit of 100.0 Gb reached, see mem.maxVSize()" error? My R_MAX_VSIZE is already ridiculously high
I'm on MacOS 12.7.6, with R 4.4.0 and Rstudio 2023.06.1+524.
I've had this error pop out from time to time. I have searched it and all solutions are about setting R_MAX_SIZE to a number much larger ...
1
vote
0
answers
52
views
Getting error code: out of memory in chrome when i run webdriverio v8 test scenarios
Getting error in chrome when i run webdriverio v8 test scenarios:
out of memory
Recently upgraded from node 16 to v20 and updated scripts to use imports as ESM standards and avoided require()
...
1
vote
1
answer
212
views
Antibot solver blackbox testing fails after 200 runs
My team has designed an antibot for a project and now I am testing its vulnerabilities. I have created a antibot solver bypass using some python and javascript. I am running into a super weird run ...
1
vote
1
answer
38
views
MacOS AudioHardwareSystem leak
I love the syntax for the new CoreAudio API. Unfortunately it seems to leak like a sieve. Is there anyway to avoid the leaks without needing to go back to the old API?
This code leaks.
func ...
1
vote
2
answers
91
views
Numpy delete() function increases memory usage
I am using np.delete(), to drop a specific band from my ndarray. However, while profiling the memory usage with memory profiler, I noticed that after using np.delete, the memory usage doubles, even ...
1
vote
1
answer
184
views
oom error from docker container possible causes
I am experiencing an issue at my company's application where a docker container has memory that continues to grow until an OOM error occur and the container restarts. It seems to indicate there is a ...
0
votes
0
answers
80
views
How to exclude items when analyzing memory leak in Chrome's Memory panel?
I suspect there's a memory leak on my web page.
Following online tutorials, I took two memory snapshots in Incognito Mode at different times. Here are the results:
It shows that memory increased from ...
1
vote
0
answers
54
views
Weird RAM overload with Async Task on ARM32 - Android API 27
After finishing developing the App in MAUI, I tested it for the first time on an older device: Motorola e5 Play (2 GB RAM) - Android 8.1 Oreo. When opening the App, around 300 MB of memory is ...
0
votes
0
answers
96
views
How to fix memory leak caused by ViewModel delegate?
LeakCanary's logs show that after ViewModel.onClear() the pageModelPagingDataFlow does not release memory.
Update 1
I found that the memory leak would be fixed if change by activityViewModels() to by ...
1
vote
3
answers
279
views
Golang http.Client causes increasing goroutines and (socket) file descriptors
I have a Go program that runs continuously, and I've noticed that both the number of goroutines and open file descriptors increase steadily over time (daily). However, the number of active network ...
0
votes
0
answers
65
views
Unable to limit memory(RAM) consumption in a FastAPI based service using Sqlite / AioSqlite
I have stored strings & their vector embeddings in a Sqlite DB file with the table name "query_metadata". Embeddings are stored as numpy bytes. The embeddings would be used for ...
3
votes
1
answer
160
views
JS Infinite loop with await creates memory leak [closed]
This piece of code creates a memory leak. I'm not sure why. This code is shortedned from a longer method that polls a redis list for messages (which returns either a message or null immidiately if ...
9
votes
0
answers
845
views
Failed to generate memory graph for pid 73918: failed to create a VMUTaskMemoryScanner, probably because the target's libmalloc hasn't been initialize
I'm trying to use Instruments (with Xcode 16.1) to analyze memory usage of my iOS app running on the simulator. However, when I try to attach Instruments to the app, I get the above error. I am not ...
0
votes
0
answers
87
views
is there any method for managing memory usage in an infinite scrolling scraping?
I'm writing a Python Selenium scraper for a web page that uses infinite scrolling to load content dynamically. Over time, as more posts are loaded, the JavaScript heap memory usage in ChromeDriver ...