Re: Maximum size of data segment used by c program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Mon, Sep 17, 2012 at 4:41 PM, devendra.aaru <devendra.aaru@xxxxxxxxx> 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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux