[ns] Ns-users Digest, Vol 63, Issue 4
sahoo jagruti
sahoojagruti at yahoo.com
Thu Mar 5 22:43:01 PST 2009
Dear J S,
To check memory leaks , you can go for valgrind tool. Check the link below.
http://valgrind.org/
Sometimes, out of of memory occurs if the trace file is large. In that case, just keep the traces that u need and turn off all other traces. For example, u may turn on AGT only and turn off MAC and RTR traces.
Thanks
Jagruti
________________________________
From: "ns-users-request at ISI.EDU" <ns-users-request at ISI.EDU>
To: ns-users at ISI.EDU
Sent: Thursday, March 5, 2009 9:00:29 AM
Subject: Ns-users Digest, Vol 63, Issue 4
Send Ns-users mailing list submissions to
ns-users at isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-request at isi.edu
You can reach the person managing the list at
ns-users-owner at isi.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ns-users digest..."
Today's Topics:
1. Trace queue (Pop Barbie)
2. Out of memory error (J S)
----------------------------------------------------------------------
Message: 1
Date: Tue, 3 Mar 2009 21:12:33 -0800 (PST)
From: Pop Barbie <cool.shivaji at yahoo.com>
Subject: [ns] Trace queue
To: "ns-users at isi.edu" <ns-users at ISI.EDU>
Message-ID: <370844.47825.qm at web45508.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Dear all
I'm using ns2.31 and i've given? the command to trace the? queue after starting the traffic.....
I want to trace the queue also the packet loss...
but i got an error when i execute the tcl script..
Please anyone help me to execute the code....
set gh [open que.tr w]
$ns trace-queue $n0 $m0 $gh
wrong # args: should be "_o3 self class proc n1 n2 ?file?"
??? (Simulator trace-queue line 1)
??? invoked from within
"$ns trace-queue $gh"
??? (file "jex.tcl" line 12)
THANKS
------------------------------
Message: 2
Date: Wed, 4 Mar 2009 08:05:23 -0500
From: J S <geekreader at gmail.com>
Subject: [ns] Out of memory error
To: ns-users at ISI.EDU
Message-ID:
<51c600f80903040505h678e00acx4e4dad85c01f33fb at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello-
I have a simulation set up in which I am using ping, packmime and
pareto(udp) traffcs among 150 odd nodes. Now when I tried to run my
simulation for longer time (24 hours), the process was killed and the
kernel reported out of memory. The ns process could only last for 3 hours of
simulation time.
Does any one know how do I fix this problem?
I reviewed the page
http://isi.edu/nsnam/ns/ns-largesim.html
It suggest that I should remove all packet headers and add specific
headers, but since I have 3 different types of packets (ping-ICMP,
packmime-tcp and pareto-UDP), how do I implement this?
Is there any way I can check for memory leak?
Thanks
JS
------------------------------
_______________________________________________
Ns-users mailing list
Ns-users at isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users
End of Ns-users Digest, Vol 63, Issue 4
***************************************
More information about the Ns-users
mailing list