473,544 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to view how much memory some process use in Windows?

How can I monitor with a Python script how much memory does a process
use in Windows? I want to do statistics about memory consumption of
processes like Firefox, Antivirus, etc. When I search in Google I only
find information about how to monitor this in linux or how to reduce
Python programs memory usage.
Jun 27 '08 #1
1 2080
"Florencio Cano" <fl************ @gmail.comwrote :
How can I monitor with a Python script how much memory does a process
use in Windows? I want to do statistics about memory consumption of
processes like Firefox, Antivirus, etc. When I search in Google I only
find information about how to monitor this in linux or how to reduce
Python programs memory usage.
Perhaps http://aspn.activestate.com/ASPN/Coo.../Recipe/303339
Duncan Booth http://kupuguy.blogspot.com
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: | last post by:
It looks like I have some kind of memory leak in my Visual Basic program. I am grabing about 250K of memory every 10 seconds. I have all kinds of stuff happening (Threads spinning in the backround & all kinds of timers going off) and I cant tell where memory is getting sucked up. Does VB/Visual studio.Net have some way to let me know how...
by: M | last post by:
I wrote a c++ program which utilizes a bitset<80> map. If I do a sizeof bitset<80> it says 12 bytes and there's no limit to the number of entries I can add to the map. What I mean is the number of entries is limited to memory because if I create 10 bit combinations of 80 that can max out at 1,646,492,110,120 combinations nCk(80,10). Multiply...
by: dan | last post by:
For writing a Windows desktop application, how much harder is it to use the Windows C API than C#/.NET, assuming the coding is done in an editor? What specific aspects were more difficult? I'm looking for responses from programmers who have tried both. *********** Begin background / war story I'm porting a C/Curses data analysis...
by: IsRaEl | last post by:
Hello, I was wondering. Is there any way to make Console app use less memory?? i just did a simple Console app that download some FTP files and use 9 mb!!!!!!! I think it should use at max 1 mb!!!
by: Bernard Lebel | last post by:
Hello, I would like to know if there is a way to know how much memory (bytes, kilobytes, megabytes, etc) a name is using. More specifically, I have this list of strings that I want to write to a file as lines. This list grows througout the script execution, and toward the end, the file is written.
by: elty123 | last post by:
I have a small C# program (about 400 lines of code) that is only 28kb after compiled. However when it runs (takes a whole 5 seconds) it takes up nearly 20MB of memory and I don't see why. Some of the assembly I used: using System; using System.Collections.Generic;
by: Mufasa | last post by:
I've got a system where one of the processes that is running (not done by me) is causing a memory leak. This is a process I call so I'm trying to find out how much memory it's using. What I want to do is get the amount of memory, run a call to the package, then check the memory again. If they are different - I know where the leak is. ...
by: FFMG | last post by:
Hi, My Hosting company is saying that I am using too much memory on the VPS and that I should upgrade. I am currently running at 65%-75%, (according to WHM). It does seem a bit high, but I cannot see what could be using a lot of memory. I have MySQL 5 and and php 4.4. Is there any PHP code that I could use to 'check' how much memory a
by: siddhu | last post by:
Dear experts, If I do free(p); memory pointed by p is freed and is available for further allocations in the process. But how does it decide about how much memory (size) has to to be freed and make it available for further allocations? Regards, Siddharth
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.