a Python programming environment providing object and heap memory sizing, profiling and analysis.
Questions tagged [guppy]
24 questions
1
vote
0 answers
Python memory leak which is not recognized by profiler
The program can work fine for days, but at some random point it starts growing ~60MB/hour.
Profilers like guppy and pympler doesn't show leaked memory. (they show ~30mb used, while ps resident memory use is 1,5GB)
Gdb-heap C profiler shows a lot of…

user2229336
- 169
- 1
- 7
1
vote
0 answers
Installing apptrace in OS X for debugging GAE app memory, error: pkg_resources.DistributionNotFound: apptrace==0.2.3
I am trying to install and use apptrace on OS X in order to debug GAE memory...
It's been complicated and I still haven't managed to get it installed.
The docs say this is the easiest way to install:
easy_install apptrace
But in order for that to…

Jonny
- 15,955
- 18
- 111
- 232
0
votes
1 answer
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE when running guppy basecaller
I have tried to run the ONT basecaller guppy. I have run this code several times before without any issues. Now (following a reboot) it is producing the error message:
[guppy/error] main: CUDA error at…

user8144422
- 101
- 1
- 8
0
votes
1 answer
Weird memory consumption of a long-running project as stated by guppy
I have a long-running Python project which has a slow but perpetual increment in memory usage. the main script sets up new processes (using multiprocessing) if it receives a lot of work to handle and both the main process and the children processes…

Or Y
- 2,088
- 3
- 16
0
votes
1 answer
python - Finding a leaking object
I have a large python code base.
At one point I find out (using guppy but that doesn't really matter) that I have an existing instance of my class BigClass.
At this point of the code I do not expect to have any living instances of BigClass since all…

user972014
- 3,296
- 6
- 49
- 89
0
votes
0 answers
Schrodinger Memory Leak - On hpy initialization leak disappears
I've noticed my python code has a memory leak, and was in the process of debugging it. I imported hpy from guppy and initialized it (h = hpy()), the leak vanished. As soon as that initialization is commented out, the leak returns. Is there…

hherbol
- 91
- 12
0
votes
0 answers
Scrapy + Unicode class is using a lot of memory in scrapy crawl
I tried finding memory leaking solution Guppy and following results came up.
As you can see Unicode class is using lot of resources here..
Also,this only happens when I run this on my cloud instance it does not happen when I run this on my local…

Jenish
- 2,829
- 1
- 10
- 13
0
votes
1 answer
django.dispatch.saferef.BoundMethodWeakRef object leak for each request resulting in memory leak
A django webapp is leaking memory. I have tried suggestions here: https://docs.djangoproject.com/en/dev/faq/models/#why-is-django-leaking-memory even though the app is not standalone.
I used guppy (by following this nice page:…

akarollil
- 435
- 4
- 12
0
votes
1 answer
Python 27 can't import shared object from guppy
I installed guppy the memory profiler from its svn#95 via "sudo python setup.py install".
It looks properly installed.
yey@yey:/usr/local/lib/python2.7/dist-packages/guppy/heapy$ ls *.so *.py
AbstractAlgebra.py ImpSet.py Path.py …

Yey
- 554
- 3
- 15