> Bruce,
>
> As suggested, I wrote the following program (test.c):
>
> --- cut here ---
> #include <stdlib.h>
>
> main()
> {
> int allocated = 0;
> int mb = 1024 * 1024;
>
> while (malloc(mb) != NULL) {
> allocated ++;
> printf ("%d MB allocated\n", allocated);
> }
> }
OK, we use malloc for memory allocation, and the error you were getting
was from that function that does that, I think. I am confused. Could
it be stack space somehow?
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026