|
|
Memory check
please tell me if i can check how much system memory is consumed while doing the hash calculation of image.by which method i can do that without using Whos.
|
|
0
|
|
|
|
Reply
|
fiza
|
7/7/2010 4:38:06 PM |
|
"fiza khalid" <princess.2050@hotmail.com> wrote in message <i12ahe$eu$1@fred.mathworks.com>...
> please tell me if i can check how much system memory is consumed while doing the hash calculation of image.by which method i can do that without using Whos.
Which operating system you are using matlab with
|
|
0
|
|
|
|
Reply
|
kk
|
7/7/2010 4:50:08 PM
|
|
fiza khalid wrote:
> please tell me if i can check how much system memory is consumed while
> doing the hash calculation of image.by which method i can do that
> without using Whos.
>> tic;sum(1:1000);toc
Elapsed time is 0.000040 seconds.
>> tic;sum(1:1000);toc
Elapsed time is 0.000039 seconds.
>> tic;sum(1:1000);toc
Elapsed time is 0.000044 seconds.
>> tic;sum(1:1000);toc
Elapsed time is 0.000037 seconds.
>> tic;sum(1:1000);toc
Elapsed time is 0.000041 seconds.
Given the above runs, can you define how much system _time_ is consumed to run
the sum? Would you take the minimum time, the maximum time, the mean time, the
median time? And if the numbers had not happened to be sequential, would that
change the time? If there is a inf in the numbers, would that change the time?
If there is a nan in the numbers, would that change the time?
Now taking into account that Matlab can share variables, that the Matlab
optimizer is morally entitled to delete variables that it can prove are no
longer required, and that Matlab can reuse space from a cleared variable, then
how would you _define_ "how much system memory is consumed" while running
something?
I think you will find that there is no good definition for the quantity you
believe you wish to measure. Especially if Java is being called to do some of
the work.
|
|
0
|
|
|
|
Reply
|
roberson (2852)
|
7/7/2010 6:48:34 PM
|
|
|
2 Replies
240 Views
(page loaded in 0.031 seconds)
Similiar Articles: how to check installed RAM module and free slots - comp.unix ...How to Check RAM Parallelism | eHow.com If you have two memory modules, one in a slot ... Types of RAM Slots. Random access memory (RAM ... How To Test or Check Computer ... What is unix command to check the memory size of workstation ...sir.linying@gmail.com wrote: > My OS is solaris. Thanks for your help! This will show you that information prtconf | grep Memory On most sparc platforms, you can also ... memory consumption - comp.unix.solarisHi all, On Solaris 9 box, I'm using "prstat -a -s rss" to check the memory consumption for processes. As I checked the DB2 processes consume more tha... How to check whether malloc has allocated memory properly in case ...How to check whether malloc has allocated memory properly in case if malloc(0) can return valid pointer Follow process memory usage - vsz and rss? - comp.unix.solarisI am on Solaris 8 and I'm trying to monitor a process for memory utilization to check for memory leaks. I am using ps, Should I be looking at rss (r... Memory usage - comp.lang.c++process memory usage - vsz and rss? - comp.unix.solaris I am on Solaris 8 and I'm trying to monitor a process for memory utilization to check for memory leaks. memory leakage on solaris 11 x86 - comp.unix.solarisHi all, I am using AIDE 0.15.1 to check the integrity of fs on solaris 11 x86. After running it, nearly all free memory is consumed (dropped from 1... System-API to get current process memory usage for C/C++ pgm ...... Boost "smart pointers") are actually deallocating correctly after thousands of dynamic allocations...and my presumption is that a current-process-memory-usage "self check ... insufficient physical memory while oracle installation - comp.unix ...how to check installed RAM module and free slots - comp.unix ... insufficient physical memory while oracle installation - comp.unix ... how to check installed RAM module ... HP-UX 11.31: extreme performance problem on single-CPU rx2620 ...I will suspect first shortage of memory. Check ram utilization with swapinfo -tam and gpm (memory report). 100MB free is not a lot except if remaining free is used by ... How to Diagnose, Check, and Test for Bad Memory - Online Tech TipsNeed a memory check? Do you suspect that your computer have may be the victim of bad memory? There are several ways to check for bad memory and I will go through a ... RAM Memory Upgrade: Dell, Mac, Apple, HP, Compaq. USB drives, SSD ...Offering OEM-quality memory upgrades direct from the manufacturer Micron Technology. 7/9/2012 10:02:01 AM
|
|
|
|
|
|
|
|
|