Find the answer to your Linux question:
Results 1 to 2 of 2
Hi.. Could you any one tell me how to find the run time binary utilization of memory in RAM with out run the binary..?? Will the size of binary while ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Location
    India
    Posts
    10

    Question find run time binary size (in RAM)


    Hi..

    Could you any one tell me how to find the run time binary utilization of memory in RAM with out run the binary..??

    Will the size of binary while executing and compiled binary size are same.?

    Thanks ,
    Ganesh.

  2. #2
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    No. The executable file may contain instructions to allocate, say, a 1GB static buffer, but that'll only occupy a few bytes in the file. Also, the code may dynamically allocate lots of memory, especially if it has recursive components.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •