Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007

    Question find run time binary size (in RAM)


    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 ,

  2. #2
    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