[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Code Size



On Mon, Mar 05, 2001 at 12:55:54PM +0530, vnair@xxxxxxxxxxx wrote:
> 
> 
> Hello List,
> 
> How can i find out (or What are the different ways to check ) that how much
> memory my executable will take when it is finally loaded. Assuming that there is
> only one malloc of size X initially.
> 
> The above question includes the stack size which is built up at any instance of
> the program execution.
> 
> size command under linux does give the info but it is more of static in nature.
> 

That problem is NP-complete.

	-Arun