memory allocation for programs
From: ccwallin (ccwallin_at_yahoo.com)
Date: 01/19/05
- Next message: Mario Stargard: "Re: gcc3.4.3 & make problems on Tru64 v5.1"
- Previous message: david.adams_at_wiltel.com: "SAR on tru64"
- Next in thread: ccwallin: "Re: memory allocation for programs"
- Reply: ccwallin: "Re: memory allocation for programs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Jan 2005 12:03:47 -0800
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
- Next message: Mario Stargard: "Re: gcc3.4.3 & make problems on Tru64 v5.1"
- Previous message: david.adams_at_wiltel.com: "SAR on tru64"
- Next in thread: ccwallin: "Re: memory allocation for programs"
- Reply: ccwallin: "Re: memory allocation for programs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|