Maximum size of data segment used by c program
From: Rajat Sharma <hidden>
Date: 2012-09-17 10:17:58
From: Rajat Sharma <hidden>
Date: 2012-09-17 10:17:58
yes there is a limit, look at
# man setrlimit
RLIMIT_DATA
The maximum size of the process's data segment (initialized
data, uninitialized data, and heap). This limit affects calls to brk(2)
and sbrk(2), which fail with the error ENOMEM upon
encountering the soft limit of this resource.
-Rajat
On Mon, Sep 17, 2012 at 3:11 PM, devendra.aaru [off-list ref]wrote:
Hi all, Is there any limit on the maximum data segment size used by c programs? Thanks, _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120917/7407cee1/attachment.html