[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Memory problems
The stack segment is set to the maximum address ( 3GB) (or is it
4G?) and it grows downwards. The bss sits above the text and it grows
upwards. ( brk() system call).
Yours must be a really really huge program to require more than
this!...or most probably, something else is wrong. The brk() call takes
care that you don't cross into the stack region. Could u send the code
which gave u the problem.
On Tue, 10 Oct 2000, Delip Rao wrote:
> Hello Everybody,
> 1) How do I increase the program stack space using cc/c++?
> 2) I once got out of memory exception on Linux.Since Linux uses
> virtual memory, I think this should not have happened.
> Is there any separate set of syscalls for virtual memory?