Re: Prelink hates me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le sam 10/04/2004 à 18:49, Simon Perreault a écrit :
> Also, if the cache was big, almost no disk reading should happen when 
> starting programs. But the contrary happens: the disk starts trashing, 
> as if all the memory was used by some program, which seems to be the 
> case according to the totals, but does not seem to be the case when you 
> look at per-program memory usage.
> 

Compile this program free.c :
-------------------------------
void main(void) {
        while (1) malloc (4096) ;
}
-------------------------------

$ gcc free.c

Check the current memory usage with "free".
run "./a.out" until it crash :
$ ./a.out
Killed

Then use the "free" command to see if you have more free memory.

Just for fun.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux