Date: Sun, 15 Mar 2009 11:09:00 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: cpghost <cpghost@cordula.ws> Cc: freebsd-questions@freebsd.org Subject: Re: Speeding up exit(2)? Message-ID: <alpine.BSF.2.00.0903151106210.41179@wojtek.tensor.gdynia.pl> In-Reply-To: <20090315100141.GA1282@phenom.cordula.ws> References: <20090315091301.GB1051@phenom.cordula.ws> <alpine.BSF.2.00.0903151027050.41063@wojtek.tensor.gdynia.pl> <20090315100141.GA1282@phenom.cordula.ws>
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. strange. 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; puts("end"); } 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903151106210.41179>