[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Virtual memory exceeded in new
> Hello All,
> Thanks a lot for your reply. Lidia has figured out memory leak in original implementation of RTP. So, now I can run my simulations using 200 nodes.
> But again when I try to use 600 nodes and 550 Session/RTP Agents, I have
> same virtual memory error. I have tried to look at all your offered solutions.
> Command limit gives:
> cputime unlimited
> filesize unlimited
> datasize 2097148 kbytes
> stacksize 8192 kbytes
> coredumpsize unlimited
> vmemoryuse unlimited
> descriptors 64
>
> Also, I have done ps and pagesize commands while program is running.
> But I have not tried to increase the swap area. I am working on ultra-10 SunOS 5.6. Does anyone know how to increase it?
>
> Randa
> >
> > On Fri, 26 Feb 1999 19:50:50 +0100, Lidia Yamamoto wrote:
> > >Hi,
> > >
> > >In fact I had a similar problem, and I found out that there was no "free" for the RTP/RTCP packets. I solved it like this:
> > >
> > >session-rtp.cc:
> > >void RTPSession::recv(Packet* p, Handler*)
> > >{
> > >...
> > >Packet::free(p);
> > >}
> > >
> > >void RTPSession::recv_ctrl(Packet* p)
> > >{
> > >...
> > > Packet::free(p);
> > >}
> > >
> > >It *greatly* improved performance and memory usage since then!
> > >I imagine next release will fix this.
> >
> > This looks like a pretty severe memory leak (for people using those
> > services). It's now fixed.
> >
> > Thanks,
> > -John Heidemann
> >
>
>