342 questions
0
votes
0
answers
58
views
What is the recommended way to profile memory leaks in React Native — JS-level DevTools or native profilers?
What is the recommended way to profile memory leaks in React Native — JS-level DevTools or native profilers
In a React Native app (using Hermes), I want to detect and fix memory leaks.
There seem to ...
0
votes
0
answers
32
views
Visual VM: "Profile -> Memory" section is empty
I'm trying to profile a sample java app using VisualVM.
I tried starting the app both from Eclipse, and from Windows cmd: same result each time.
In the Profiler tab, the CPU section shows correct ...
0
votes
0
answers
107
views
Why does an in-scope object show as "dead" in Visual Studio when doing a heap snapshot?
I have this sample program:
Program.cs:
internal class Program
{
private static void Main(string[] args)
{
var testObject = new ZZTest();
Console.ReadLine();
Console....
0
votes
0
answers
30
views
Node.js: Application crashing with ‘Heap Out of Memory’ error
What are the best practices and tools for performing a memory profile on a React.js frontend and a Strapi backend application? How can I identify memory leaks, optimize memory usage, and ensure ...
1
vote
1
answer
79
views
Does allocation profiling in JProfiler show the actual size?
I'm using JProfiler to analyze memory allocation in my Java application. When I perform a specific operation, I see a 200MB spike in the live memory view. However, the allocation profiling only shows ...
1
vote
0
answers
216
views
can clinicJS be used on production or any live servers?
lately, I came across ClinicJS, I want to know if I can use it for mentoring my application on AWS ECS.
I went throw the API docs, it looks so interesting, and I tried it locally, but I wondering of ...
0
votes
1
answer
327
views
Remote memory profiling w/ Visual Studio
Is there a way to profile memory of a native C++ application on a remote machine where VS is not installed?
Per MSFT document below, remote tool is installed on the remote Windows and VSDiagnostics....
2
votes
1
answer
1k
views
Using Python Scalene to profile all functions / modules called
I am trying to profile my python code. I looked at Scalene, for which I would need to run scalene main.py in my cmd. However main.py also has some custom imported functions, from other files like ...
0
votes
0
answers
594
views
Python Memory profiler not showing the profiling for garbage collection
I have a FastAPI service, when deployed it uses minimal RAM of 600MB approx, but after a few days, the RAM consumption is going to 5GB and doesn't come down.
So I am trying to profile my code. I added ...
1
vote
0
answers
74
views
Tracking NodeJS "arrayBuffer" allocations
There are many options for heap profiling in NodeJS, but I'm having trouble finding anything to profile the memory returned by process.memoryUsage().arrayBuffers.
So far the only approach I've found ...
0
votes
1
answer
185
views
Investigating memory leak in python Kivy app with memory_profiler
I'm not new with python, quite beginner with Kivy though. And never ever tried to catch a memory leak.
I went pretty far with developing my python Kivy app when accidentally noticed (using Windows ...
1
vote
1
answer
138
views
How does GNU 'time' measure process resource usage?
This question is about GNU time utility on Ubuntu and CentOS, not bash time command.
I am looking at measuring resources used by CI job commands (most importantly max memory usage) using time --...
1
vote
0
answers
81
views
Is the amount of memory displayed in the Android profiler the same as what getTotalPss() of the Debug.MemoryInfo class returns at a specific instance?
I am using Debug.MemoryInfo class to log the various statistics about the memory mappings for a process.
Here is the implementation:
Debug.MemoryInfo appMemoryInfo = new Debug.MemoryInfo();
Debug....
1
vote
0
answers
93
views
Why number of processor cycles required to process a single array element grows with the working set (array) size?
I've been reading through the "What every programmer should know about memory" paper and got confused with the measurements performed on pages 20-21 of the document.
Sequential Read Access
I ...
0
votes
2
answers
2k
views
Memory usage of sparse matrices (scipy)
I was expecting scipy's sparse matrices to use a lot less memory than the na(t)ive list of lists representation, but experiments have proven me wrong. In the snippet below, I'm building a random ...