Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 11:09:00 +0100 (CET)
From:      Wojciech Puchar <>
To:        cpghost <>
Subject:   Re: Speeding up exit(2)?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>> is it your program and you are sure it's on exit?
> Every memory hungry program is concerned; and yes: it happens exactly
> on exit.

i just wrote a test program

#include <stdio.h>
int test[1024*1024*128];
main() {
  int a;
  for(a=0;a<1024*1024*128;a++) test[a]=a;

it fills 512MB RAM and then ends. i have 256MB RAM in laptop

it swapped a lot, then wrote "end" and immediately exited.

Want to link to this message? Use this URL: <>