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.
-- masayuki takagi 2 4003
On Feb 26, 3:43*am, "masayuki.takagi" <kamona...@gmail.comwrote:
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.
-- masayuki takagi
#mac osx 10.4.7
import resource
print resource.getrusage(resource.RUSAGE_SELF)
--output:--
(0.009417, 0.020122999999999999, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0,
0, 0)
On 2$B7n(B26$BF|(B, $B8a8e(B8:02, 7stud <bbxx789_0...@yahoo.comwrote:
On Feb 26, 3:43 am, "masayuki.takagi" <kamona...@gmail.comwrote:
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.
-- masayuki takagi
#mac osx 10.4.7
import resource
print resource.getrusage(resource.RUSAGE_SELF)
--output:--
(0.009417, 0.020122999999999999, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0,
0, 0)
hum...
for example below, which elment of the output means the memory usage?
the list i should use about 16MB.
#mac osx 10.4.11
import resource
i = range( 0, 1000000)
print resource.getrusage(resource.RUSAGE_SELF)
--output:--
(0.042582999999999996, 0.064561999999999994, 0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 103, 0) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Justice |
last post by:
Currently I'm doing some experimenting with the XMLHTTP object in
Javascript. Now,
the XMLHttp object is asynchronous (at least in this case), and the
following code causes a significant memory...
|
by: tomvr |
last post by:
Hello
I have noticed some 'weird' memory usage in a vb.net windows app
The situation is as follows
I have an app (heavy on images) with 2 forms
(actually there are more forms and on starting...
|
by: Tom |
last post by:
We have a VERY simple .NET C# Form Application, that has about a 23MB
Memory Footprint. It starts a window runs a process and does a regular
expression. I have done a GC.Collect to make sure that,...
|
by: Jarvis |
last post by:
I've made a testing program to test the memory usage of some Data Forms.
I create a MDI parent form with one single MDI child form, which is a Data
Form generated by .NET Data Form Wizard.
To...
|
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: Philip Carnstam |
last post by:
How come .Net applications use so much memory? Every application I compile
uses at least 10 MB of memory, even the ones consisting of only a form and
nothing else. If I minimize them though the...
|
by: Guadala Harry |
last post by:
An ISP I'm considering tells me they limits ASP.NET Web applications to 128
MB RAM each (on a shared server - Windows Server 2003). How can I measure
the amount of memory used by my app? I'd like...
|
by: Rune Strand |
last post by:
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
?
|
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
| |