Hi...

On Mon, Sep 17, 2012 at 4:41 PM, devendra.aaru <[email protected]> wrote:
> Hi all,
>
> Is there any limit on the maximum data segment size used by c programs?

AFAIK, both heap and stack can grow unlimited, as long as there is
enough free space in the user space address space (which is 3 GiB in
x86 32 bit).

Please note that virtual memory fragmentation in the user space
address space could also affect this. The more fragmented, the more
likely you will hit "no more free space"

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to