473,472 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how can i measure the memory that program use

now, i wanna how much memory my program use, what code should i add to
my code, or is there some program that can test it?
Feb 24 '08 #1
4 1975
cc
On Feb 25, 12:38*am, remlostime <remlost...@gmail.comwrote:
now, i wanna how much memory my program use, what code should i add to
my code, or is there some program that can test it?
I also want to know, mark. So waiting someone settle this problem
Feb 24 '08 #2
Couldn't you do that just by looking at Processes in the Task Manager?

--
Message posted using http://www.talkaboutprogramming.com/...comp.lang.c++/
More information at http://www.talkaboutprogramming.com/faq.html

Feb 24 '08 #3
On 2ÔÂ25ÈÕ, ÉÏÎç6ʱ58·Ö, "slackmeister" <kevinfglo....@yahoo.comwrote:
Couldn't you do that just by looking at Processes in the Task Manager?

--
Message posted usinghttp://www.talkaboutprogramming.com/group/comp.lang.c++/
More information athttp://www.talkaboutprogramming.com/faq.html
sorry, i cannot find something helpful
Feb 25 '08 #4
remlostime wrote:
now, i wanna how much memory my program use, what code should i add to
my code, or is there some program that can test it?
Create your own global new and delete operators and keep track your self.

--
Ian Collins.
Feb 25 '08 #5

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

Similar topics

1
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. ...
7
by: Peng Yu | last post by:
Hi, For example, there is a function which is called many times from different places in a program. I want measure how long this function runs in total. Of course, I can use gettimeofday to...
2
by: bluekite2000 | last post by:
I ran the following code for a square matrix whose size ranges from 1x1 to 1000x1000 start=clock(); //sequential access time measurement for (i=0;i<Msize;i++) for(j=0;j<Nsize;j++) {...
2
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...
3
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 ?
6
by: Scirious | last post by:
People, how can I know how big an object is? I mean, I have an object the collects data from a stream and when it grows to an especific size I need to create a new object to continue collecting the...
3
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...
2
by: Krish06 | last post by:
Hi Friends, i just need to measure the frequency and ampitude from sound.. in my pro i create a sine wave(i set freq 1000hz,amptitude200) and i passed that wave sound to my pc thru...
2
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.
0
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...
0
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...
0
Oralloy
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,...
1
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...
0
tracyyun
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...
0
agi2029
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,...
1
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...

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.