Re: memory allocation in unix
From: Rich Teer (rich.teer_at_rite-group.com)
Date: 01/25/05
- Next message: Piotr Stanczyk: "Re: mpeg2 read frame using C or C++ or Matlab"
- Previous message: Lew Pitcher: "Re: EOF on serial port"
- In reply to: ccwallin: "Re: memory allocation in unix"
- Next in thread: ccwallin: "Re: memory allocation in unix"
- Reply: ccwallin: "Re: memory allocation in unix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 Jan 2005 18:25:52 GMT
On Tue, 25 Jan 2005, ccwallin wrote:
> You said - "We need to see your data". Who's we? And you did not tell
> me what data YOU wanted to see.
"We" would be the people you're aksing for help, i.e., the people
reading this thread.
> particulars. To wit - what is the calculation that the OS uses to
> determine the amount of memory it can give a program? And yes I know
No such calculation takes place. A process asks for some (virtual)
memory. If enough is available, the request succeds, otherwise it
fails. The kernel doesn't arbitrarily allocate some maximum amount
of VM to a process when it starts.
-- Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming" President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-group.com/rich
- Next message: Piotr Stanczyk: "Re: mpeg2 read frame using C or C++ or Matlab"
- Previous message: Lew Pitcher: "Re: EOF on serial port"
- In reply to: ccwallin: "Re: memory allocation in unix"
- Next in thread: ccwallin: "Re: memory allocation in unix"
- Reply: ccwallin: "Re: memory allocation in unix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|