[ns] Help regarding absurd memory usage

2009-03-24 Thread fhg07
I am simulating a protocol which I developed, and I wanted the simulation to end only when all my nodes are dead. Well, that is not really that fast to happen, and before I reach that point my memory ends and I get a bac_alloc error message. And here is the thing: I do alloc lots of packets with

Re: [ns] Help regarding absurd memory usage

2009-03-25 Thread James Bernsen
A google search for "ns-2 free packet" revealed the link below, which I thought was interesting and possibly relevant to you. It has some suggestions for freeing packets. *How to scale your simulation to more nodes (500 nodes) and speed up it?* http://www.cs.binghamton.edu/~kliu/research/ns2code/