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

[ns] ns2 eats memory, how to debug ?



Hi,

I did heavy modifications to ns2 (in wireless mode), and now ns2 uses up all the system memory when running a long simulation (several simulated minutes). It doesn't grow very fast, but it does and I don't know whether I introduced this or whether it was already present.
I'm using ns2 under windows.
How can I debug it ?
I tried to compile mpatrol, but it exits with error message 
C2375: free/malloc/memset/...   redefined; different linkage.

Any hints ?

Thanks
Alex

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