Thread (6 messages) flat view 6 messages, 3 authors, 2012-09-20

Maximum size of data segment used by c program

From: Mulyadi Santosa <hidden>
Date: 2012-09-20 03:10:09

Hi...

On Mon, Sep 17, 2012 at 4:41 PM, devendra.aaru [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help