Is there a way to measure how much memory a data structure use? For
instance, what is the footprint of a particular list object like
[0,1,2,3,4,5,6,7,8,9]? 3 2242
Rune Strand wrote: Is there a way to measure how much memory a data structure use? For instance, what is the footprint of a particular list object like [0,1,2,3,4,5,6,7,8,9]?
i have a note to try this, but haven't got around to it, if you want to
blog/post http://pysizer.8325.org/
gene tani wrote: Rune Strand wrote: Is there a way to measure how much memory a data structure use? For instance, what is the footprint of a particular list object like [0,1,2,3,4,5,6,7,8,9]?
i have a note to try this, but haven't got around to it, if you want to blog/post
http://pysizer.8325.org/
Thank you! That seems to be what I was looking for.
Rune Strand wrote: gene tani wrote: Rune Strand wrote: Is there a way to measure how much memory a data structure use? For instance, what is the footprint of a particular list object like [0,1,2,3,4,5,6,7,8,9]?
i have a note to try this, but haven't got around to it, if you want to blog/post
http://pysizer.8325.org/
Thank you! That seems to be what I was looking for.
ok, my notes are disorganized: http://guppy-pe.sourceforge.net/#Heapy http://www.softwareverify.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christian Perthen |
last post by:
Hi,
How can a measure server session memory usage?
I have a 20-30 session variables and I would like to know how much they memory they consume then multplied with my projected user load.
...
|
by: mariano.difelice |
last post by:
Hi,
I've a big memory problem with my application.
First, an example:
If I write:
a = range(500*1024)
I see that python process allocate approximately 80Mb of memory.
|
by: Neagu, Adrian |
last post by:
Hello everybody,
I try to solve the following problem: I have a python program that takes a
lot of memory (>hundred Mb). I made an improvement (I hope) and I want to
measure the gain (if...
|
by: placid |
last post by:
Hi All,
Just wondering when i run the following code;
for i in range(1000000):
print i
the memory usage of Python spikes and when the range(..) block finishes
execution the memory usage...
|
by: frederic.pica |
last post by:
Greets,
I've some troubles getting my memory freed by python, how can I force
it to release the memory ?
I've tried del and gc.collect() with no success.
Here is a code sample, parsing an XML...
|
by: greg.novak |
last post by:
I am using Python to process particle data from a physics simulation.
There are about 15 MB of data associated with each simulation, but
there are many simulations. I read the data from each...
|
by: masayuki.takagi |
last post by:
hi all,
i want to measure memory usage of my python process on Mac OSX.
i tired resource module, but it doesn't work on OSX.
how can i get it ?
thnx.
|
by: yzghan |
last post by:
Hi all,
I feel that my python script is leaking memory. And this is a test I
have:
log.write(" " + "test() ... memory usage: " +
" ".join(repr(i/(1024*1024)) for i in getMemInfo()) + "\n")
m...
|
by: Jean-Paul Calderone |
last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote:
The test doesn't demonstrate any leaks. It does demonstrate that memory
usage can remain at or near peak memory usage even after...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |