Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "ccwallin" <ccwallin@yahoo.com>
Subject: memory allocation for programs
Date: 19 Jan 2005 12:03:47 -0800	[thread overview]
Message-ID: <1106165027.102646.257220@f14g2000cwb.googlegroups.com> (raw)

I am wondering how the loader part of an executable calculates the
amount of memory to set aside for each program a user runs in his
environment. That is when a user types in a programs name at the prompt
and hits "Enter" How does the loader figure out how much memory to set
aside for it to run. I think it needs some for code, some for stack
space, and some for data.

We have identical programs, running on different servers, that are
grabbing two different amounts of memory when they are run.
The two different servers are as follows -
1. Alpha 4100 running V4.0F PK7 - has 3GB RAM
2. Alpha ES40 running V5.1b PK4 - has 8GB RAM

On the ES40 the program grabs 10x the amount of memory that it does on
the 4100.

Tom Wallin



             reply	other threads:[~2005-01-19 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 20:03 ccwallin [this message]
2005-01-21  3:12 ` memory allocation for programs ccwallin
2005-01-21 16:53   ` Brian Haley
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox