memory-profiling Questions
1
Solved
I have searched somewhat within VSCode extensions, plugins, googled, but nothing seems to give me similar tool as standard VS provides.
There is a whole list of code profilers for the big VS, (only...
Unwarranted asked 13/9, 2021 at 16:56
0
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 Acces...
Yettie asked 25/8, 2023 at 12:22
1
Solved
I need to do a memory use profiling of a function. I'm using a jupyter notebook in with Python 3.8.10, and I've insalled succesfully the memory_profiler 0.60 with no errors. When I load the memory_...
Nutritionist asked 25/10, 2022 at 10:1
1
Solved
I have been trying to profile the heap usage of a cli tool built with cobra.
The pprof tool is showing like the following,
Flat Flat% Sum% Cum Cum% Name Inlined?
1.58GB 49.98% 49.98% 1.58GB 49.98% ...
Kreegar asked 7/9, 2022 at 9:3
2
I installed memory_profiler on my system and ran this program
!/usr/bin/env python
from memory_profiler import profile
@profile(precision=4)
def my_func():
a = [1] * (10 ** 6)
b = [2] * (2 * 10...
Junji asked 23/3, 2017 at 13:11
1
Is there a way to find how much size a state (object, array, etc) or a component occupies in memory.
In my current context, I need that to know if a specific state/component is very heavy (in term...
Subsidy asked 2/4, 2019 at 13:56
5
How can I programmatically get memory usage (JS and total) of my website in Google Chrome?
I looked at doing it from a Chrome extension using the undocumented HeapProfiler (see here), but I can't ...
Merla asked 27/8, 2013 at 1:44
2
Solved
While trying to figure out how Python's garbage collection system works, I stumbled across this oddity. Running this simple code:
import numpy as np
from memory_profiler import profile
@profile
de...
Landed asked 23/7, 2020 at 23:48
1
Solved
I am experimenting memory_profiler in Python3 following
https://medium.com/zendesk-engineering/hunting-for-memory-leaks-in-python-applications-6824d0518774
thanks to @eyllanesc here PyQt5 designe...
Delfinadelfine asked 18/5, 2020 at 14:15
2
Solved
I'm trying to understand why PowerShell's memory balloons so much when I import a file that's ~16MB's as a variable. I can understand there's additional memory structure around that variable but I'...
Cochleate asked 22/2, 2020 at 15:30
1
If I execute the Python interpreter it needs roughly 111 MByte:
>>> import psutil
>>> psutil.Process().memory_info()
pmem(rss=19451904, vms=111677440, shared=6905856, text=4096, ...
Scarify asked 3/12, 2019 at 15:57
1
My code eats up to 3GB of memory at a single time. I figured it out using gc():
gc1 <- gc(reset = TRUE)
graf(...) # the code
gc2 <- gc()
cat(sprintf("mem: %.1fMb.\n", sum(gc2[,6] - gc1[,2]))...
Mammillate asked 5/10, 2019 at 17:2
2
What is the correct way to profile memory in R code that contains calls to data.table functions? Let's say I want to determine the maximum memory usage during an expression.
This reference indicat...
Deceitful asked 8/10, 2019 at 0:50
1
Solved
I am trying use profiling to see which part of my code is reposponsible for the maximum usage of 3GB of memory (as reported by gc() statistic on maximum used memory, see here how). I am running mem...
Hypogynous asked 5/10, 2019 at 16:16
1
I'm doing some sanity checks with Pympler to make sure that I understand results when I try to profile an actual script, but I'm a bit puzzled at the results. Here are the sanity checks I've tried:...
Pitapat asked 13/4, 2016 at 21:10
1
Solved
I can't explain most of the memory used by a C# process. The total memory is 10 GB, but the total reachable and unreachable objects altogether total 2.5 GB. I wonder what these 7.5 GB could be?
I'...
Lissner asked 17/11, 2018 at 10:22
4
I am able to generate *.dat file:
vikas@server:~/memory_profiler-0.36$ ./mprof run --python test_sl.py
vikas@server:~/memory_profiler-0.36$ ls *.dat
mprofile_20151001035123.dat
But when I am tr...
Trattoria asked 1/10, 2015 at 11:3
1
Solved
I have a problem with understanding the memory_profilers output. Basically, it looks like this:
Filename: tspviz.py
Line # Mem usage Increment Line Contents
======================================...
Gunn asked 30/8, 2018 at 8:13
1
I'm using python 3 for my flask app which is running in a port 5000.
It has one sample API. I need to profile memory, CPU usage while hitting this API from REST or Browser.
Please help me out for...
Rufescent asked 4/7, 2018 at 5:5
2
Solved
According to what I've read so far, real/resident bytes indicates the number of bytes allocated to the app including bytes that the app is no longer using but hasn't been reclaimed by the OS.
And ...
Feigin asked 26/2, 2018 at 14:32
1
I ignored this tool for a long time, because it was .NET only.
According to MSDN, the diagnostics tool works for native code, compiled in Visual Studio 2015 in Debug.
I am following:
https://lear...
Mara asked 6/11, 2017 at 16:52
3
Solved
For an R Shiny web app, what are some good ways to run code profiling that show the parts of the Shiny code that are taking the most processing time?
I've got a big, fat, complex Shiny app, and I...
Seeley asked 31/1, 2014 at 15:46
4
Solved
I have a .NET service with a normal private working set of about 80 MB. During a recent load test, the process reached 3.5 GB memory usage causing the whole machine to be low on physical memory (3....
Fleecy asked 1/3, 2012 at 10:20
0
While checking Jake van der Plas' "Python Data Science Handbook", I was recreating the usage examples of various debugging and profiling tools. He provides an example for demonstrating %mprun with ...
Charleycharlie asked 25/11, 2017 at 21:58
2
Is it possible to profile memory usage of java projects in AWS Lambda with classes or packages of all objects on the heap?
Heap memory profiling:
Rosamondrosamund asked 16/6, 2017 at 13:38
1 Next >
© 2022 - 2024 — McMap. All rights reserved.