lkml.org 
[lkml]   [1999]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Allocation of too much memory hangs system, kernel 2.2.*
Date
From

>> Program #1 ends with a huge core dump.
>> Program #2 ends with a core too, but it is very little, about 8MB.
>> Strange.
>
>> Anyway the machine is still OK and prefectily working and stable.
You
>> should
>> post the peice of code that cause you that troubles...
>
>Please try the following:
>
>-------------------------------------
> # include "stdio.h"
>
> [...]
>
>after printing 375, the system stops as described in my problem
report.

Nope. The program cores at 7, when it reaches 8MB, just like the other
my testprgs.
Very very strange. If I allocate memory by malloc(), I can fill all the
available memory, but if I use infinite recursion the programs stops
when the stack reaches 8MB...
Can someone explain me this behaviour ?

[kernel 2.2.9 on a PowerPC 604e/200MHz]

Bye.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.058 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site