Re: allocation of memory to a program
- From: mohi <mohangupta13@xxxxxxxxx>
- Date: Fri, 28 Mar 2008 02:54:09 -0700 (PDT)
On Mar 28, 1:37 am, David Schwartz <dav...@xxxxxxxxxxxxx> wrote:
On Mar 27, 1:07 pm, mohi <mohangupt...@xxxxxxxxx> wrote:
hello everyone
can anyone please tell we how the os kernel determines the size of
memory to be allocated
to a program while it is sheduled, here i mean how it determines the
size of the heap and the stack memory to be allocated to it .
all help is appreciated
moahn
Your question doesn't really make sense. First, it's not clear whether
it's about physical memory or virtual memory. Second, it implies that
memory is allocated when a process is scheduled, which is not the
case. Memory is allocated when the process requests it.
What are you trying to ask? It's not clear.
DS
sir ,
mean that presently i was reading about physical memory allocators and
wanted to know ,as the size entry of the program( the size of the
program in directory entry) includes the size of the code of the
program and not that of the dynamic memory which that program may
require(as i think) ,so how does the kernel or the allocater decides
what block of memory should be actually allocated to the program(which
will also include the dynamic memory which may be required by the
program beside the memory required for its code.
mohan
.
- Follow-Ups:
- Re: allocation of memory to a program
- From: David Schwartz
- Re: allocation of memory to a program
- From: Josef Moellers
- Re: allocation of memory to a program
- References:
- allocation of memory to a program
- From: mohi
- Re: allocation of memory to a program
- From: David Schwartz
- allocation of memory to a program
- Prev by Date: Re: allocation of memory to a program
- Next by Date: physical memory allocated to a program
- Previous by thread: Re: allocation of memory to a program
- Next by thread: Re: allocation of memory to a program
- Index(es):
Relevant Pages
|