Skip to content Skip to sidebar Skip to footer
Showing posts with the label Memory Leaks

Finding Memory Leak In Python By Tracemalloc Module

I have a python script which uses an opensource pytorch model and this code has a memory leak. I am… Read more Finding Memory Leak In Python By Tracemalloc Module

Questions About Compiling Python In Debug Mode

I am using Ubuntu 12.04, Python 2.7.3. I am having a segmentation fault in a C extension I have co-… Read more Questions About Compiling Python In Debug Mode

Memory Leak In Threaded Com Object With Python

I am creating a COM client within a thread and performing several operations with this client. Each… Read more Memory Leak In Threaded Com Object With Python

Memory Profiler For Google Cloud Function?

I'm running a Google cloud function and getting out-of-memory error: Error: memory limit exceed… Read more Memory Profiler For Google Cloud Function?

Memory Leak In Django When Keeping A Reference Of All Instances Of Forms

This is a followup to this thread. I have implemented the method for keeping a reference to all my … Read more Memory Leak In Django When Keeping A Reference Of All Instances Of Forms

Is This A Memory Leak ( A Program In Python With Sqlalchemy/sqlite)

I have the following code runs over a large set of data (2M). It eats up all my 4G mem before finis… Read more Is This A Memory Leak ( A Program In Python With Sqlalchemy/sqlite)

Python 2.7 Memory Leak With Scipy.minimze

During a fit procedure, my RAM memory slowly but steadily (about 2.8 mb every couple of seconds) in… Read more Python 2.7 Memory Leak With Scipy.minimze

Confusing Reference Ownership: How To Properly Deallocate (via Py_decref) Objects Of An Object?

I was analysing the following code, which compiles and runs correctly, but generates a memory leak.… Read more Confusing Reference Ownership: How To Properly Deallocate (via Py_decref) Objects Of An Object?

Why Does Not Django Release Fetched Db Objects?

I have very simple django app: models.py: class Product(models.Model): name = models.CharFi… Read more Why Does Not Django Release Fetched Db Objects?

Memory Leak When Embedding Python Into My Application

The following program, when linked against python 2.7.13 and run on Windows 10 slowly but steadily … Read more Memory Leak When Embedding Python Into My Application

Tensorflow Memory Leak When Building Graph In A Loop

I noticed this when my grid search for selecting hyper-parameters of a Tensorflow (version 1.12.0) … Read more Tensorflow Memory Leak When Building Graph In A Loop

Why Can't Objgraph Capture The Growth Of Np.array()?

See the code: import objgraph import numpy as np objgraph.show_growth() j = 20 y = [] for i in rang… Read more Why Can't Objgraph Capture The Growth Of Np.array()?