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

[SCM] Debian package checker branch, master, updated. 2.5.14-36-g034abc9



The following commit has been merged in the master branch:
commit 034abc931a5cf911550cd3d067aace4a4b8ab160
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Jul 3 22:44:55 2013 +0200

    r/harness: Clear some variables before running lintian
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 8a236a0..e4fa6d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,10 @@ lintian (2.5.15) UNRELEASED; urgency=low
       Thanks to Salvo Tomaselli for reporting the bug.
       (Closes: #714437)
 
+  * reporting/harness:
+    + [NT] Clear some variables before running Lintian in the
+      hope it will reduce the memory pressure on "long runs".
+
 
  -- Niels Thykier <niels@thykier.net>  Sat, 29 Jun 2013 21:11:09 +0200
 
diff --git a/reporting/harness b/reporting/harness
index 2c3a307..f2be772 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -371,6 +371,12 @@ unless ($opt{'reports-only'}) {
 
     Log ('');
 
+
+    # Clear some variables we no longer need, so Perl can reclaim
+    # the memory.
+    %dirty_groups = %skip = @diffs = @manifests = ();
+
+
     if (@worklist) {
         my $cmd ="$lintian_cmd -I -E --pedantic -v --show-overrides -U changelog-file".
             ' --exp-output=format=fullewi --packages-from-file -';

-- 
Debian package checker


Reply to: