physical memory allocated to a program



hello everyone,
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
.



Relevant Pages

  • Re: Red-black trees?
    ... significant way on the amount of storage requested. ... assigned memory the first program released. ... You're mixing up two different issues, initializing space used by ... Some storage allocators initialize allocated storage, ...
    (comp.programming)
  • Re: STL Slow - VS2005
    ... will give slower node reuse but heap memory use will be minimal as it is ... Instead they measure the default choice of allocators that comes ... to inform the library designers what their intention is with a container. ... don depend on the choice of growth factor for vector, string. ...
    (microsoft.public.vc.stl)
  • Re: OO compilers and efficiency
    ... > would entirely agree with you -- people who think they can code faster ... In C you can make "custom allocators" which will allocate ... you collapse the memory by freeing them in blocks at a time. ... C is a horrible programming language has caused the software ...
    (comp.programming)
  • Re: allocation of memory to a program
    ... size of the heap and the stack memory to be allocated to it. ... mean that presently i was reading about physical memory allocators and ... require,so how does the kernel or the allocater decides ... i.e. global variables that are not assigned initial values ...
    (comp.os.linux.development.system)
  • Re: Memory allocation methods
    ... > Martina Burger wrote: ... >> my program frequently allocats and deallocates memory with various ... > - the runtime allocators do not set a thread's last error in case they ...
    (microsoft.public.win32.programmer.kernel)