[ns] GPSR implementation running out of memory

2013-05-12 Thread Anas Almajali
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

Re: [ns] GPSR implementation running out of memory

2013-05-12 Thread Saravanan Kandasamy
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