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

Re: Memory problem in NS again??



On Fri, 03 Sep 1999 03:35:05 EDT, Xin Wang wrote: 
>Dear All,
>
>I am running NS on Ultra 256, with 256M memory.
>I have only 7 nodes, but running 75 flows, 
>with 27 flows running on-off model at average 300 kb/s,
>48 flows  running on-off model at average 30kb/s.
>FQ is used for scheduling. 
>
>The traffic also go through leaky bucket, and flow monotoring before
>entering the sink. 
>
>The simulation time I am using is only 10 min. But with testing going on, 
>the memory consumption quickly increases, from 40M until 330 M, 
>that my progam is virtually dead. Does anyone know any existing bugs
>in NS that may lead to this big memory consumption?

Either (1) there's a memory leak, or (2) you have lots of packets in
flight.  I don't know the mean end-to-end delay so I can't judge if
(2) is the case.

Fortunatly, in either case, you should be able to apply the memory
debugging tips at
<http://www-mash.cs.berkeley.edu/ns/ns-debugging.html> to identify the
problem.

   -John Heidemann