Anas,
You are facing a memory leak. The effect of memory leak aggravated when you
run longer simulation time, simulating larger number of nodes or both.
Valgrind is good for memory leak detection. It able to show the functions
and exact lines of codes that potentially causing some of the memory
All,
I ported GPSR implementation to ns-2 2.34. The examples that come with the
implementation work fine.
Some of my simulations that have small number of nodes or few events
happening work fine too. However, when I increase the number of nodes above
100 nodes and have more events, the simulation