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

[ns] memory problem with ns2



Hi,

finally I managed to get ns2 under windows working with the mpatrol library, which logs all malloc() and free() and a lot more stuff.
Unfortunately no trace stacks were generated in the log file.
So now I know that ns allocated in my sim 28640 x 424 bytes, 28641 x 88 bytes, 152191 x 20 bytes and 37446 x 16 bytes. 56000 of the 152000 x 20 bytes are also freed, and 421 of the 37000 x 16 bytes are freed.
The 28641 x 88 bytes are Packet's, 88 bytes is the size of one packet here. If I understood correctly, it is ok that they are not freed again, since they are reused by ns.
So, any ideas what these 424, 20 and 16 bytes big chunks might be ?

Bye
Alex
--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org