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

Re: Memory leaks



>   Since I am converting to the mint opertating system, I was curious how
>   memory allocation compared. I find that there is 448 bytes lost each 
>   time I load and unload a program in a multiuser environment. This leads
>   to fragmentation of memory. A small test of loading and unloading the 
>   same program from the same terminal 3 times resulted in going from 9
>   free blocks of memory to 13 free blocks, with a loss of 1344 bytes
>   available, 448 per iteration.

I telnetted to my TT to do the test. I generally ran programs, and did
'free' when they terminated. Results:

login: 18576144 free, 11 blocks, largest 14920944
ls:    18576032 free, 11 blocks, largest 14920928
ls:    18576032 free, 11 blocks, largest 14920928
pico:  18576032 free, 11 blocks, largest 14920928
logout
login: 18559760 free, 10 blocks, largest 14920944
logout

Then I logged in a hour later and I saw exactly the same as by the first
time:

      18576144 free, 11 blocks, largest 14920924

1.14.7 here, TT030/TOS 3.06, 20 MB RAM.

--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl                  | Atari Falcon030/TT030/65XE |
|http://www.orient.uw.edu.pl/~conradus/ |  *** FreeMiNT 1.14.8. ***  |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.