yes there is a limit, look at<br><br># man setrlimit<br><br>RLIMIT_DATA<br> 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<br>
encountering the soft limit of this resource.<br><br>-Rajat<br><br><div class="gmail_quote">On Mon, Sep 17, 2012 at 3:11 PM, devendra.aaru <span dir="ltr"><<a href="mailto:devendra.aaru@gmail.com" target="_blank">devendra.aaru@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Is there any limit on the maximum data segment size used by c programs?<br>
<br>
Thanks,<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br>