Resp Sir,

Your mails are being hacked. Please check who these mails are comming to
wrong mail id.

With Regards

Ashok Singhvi

----- Original Message -----
From: Shridhar Daithankar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 1:31 PM
Subject: Re: [LIH] calculating memory required?


> On 12 Jan 2002 at 23:38, Mayuresh Kathe wrote:
> > Can someone tell me if there is any way to figure out how much memory
> > would be required by a certain app?
>
> If you are sure it doesn't have a memory leak then you can start it at any
> amount of RAM.
>
> Predicting exact amount required is a tough task.(Others have pointed it
out.)
> You can safely assume it to be minimum to the binary size assuming you
don't do
> any allocations.
>
> A single loop doing malloc and overwriting it to the sam pointer won't
generate
> a big binary but it will consume a huge amount of memory if executed as
root..
>
> I hope you got the idea..Otherwise try running free before and after you
lauch
> the app. But this is not 100% sure methd. You do the same thing on
> 64MB/128MB/256MB RAM machine and you will get different result, as kernel
will
> cache entire binary if it has space it it's disposal... May be data files
too..
>
>  Shridhar
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to