I wrote a small program as follows

int i = 32;

int
main(){ while (1) malloc(i); }


As long as i is in between 1 and 32, all memory is used up and all swap is used up, 
and then the process is killed.

Again, when i > 32, all seems well.

What could be the problem?

-Ram

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to