summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-05-31 22:43:56 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-01 00:24:02 -0700
commit5b0d583cc4399e6d1b6d79ea9513c9f8ca789f8f (patch)
tree555d488276c72cc8f96dcd3631e96314d5bd47a8
parent4f49c3d22599b4296e51da0d2684633904ec134e (diff)
extras/gnfs-lognalyzer: Delete class instance to release mem early
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 913 (NFS-specific log analyzer tool) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=913
-rw-r--r--extras/gnfs-loganalyse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/gnfs-loganalyse.py b/extras/gnfs-loganalyse.py
index 16e3562472c..1e0fde7f295 100644
--- a/extras/gnfs-loganalyse.py
+++ b/extras/gnfs-loganalyse.py
@@ -134,6 +134,7 @@ for line in sys.stdin:
if linecount % dumpinterval == 0:
sys.stderr.write ("Dumping data..\n")
la.dump ()
+ del la
la = NFSLogAnalyzer ()
if linecount % progmsgcount == 0: