cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11349 (18 Jun 2012, PaulHarvey)Edit Attach

Item11349: Fix memory leaks

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: patch
Applies To: Engine
Component: JQueryPlugin, UnitTestContrib
Branches: Release01x01 trunk
Reported By: PaulHarvey
Waiting For: PaulHarvey
Last Change By: PaulHarvey
Tracked objects by class:
   Foswiki::Plugins::JQueryPlugin::FOSWIKI  1
   Foswiki::Serialise::Embedded             1
   Foswiki::WebFilter                       3
   Unit::TestRunner                         1
   utf8                                     1

Sources of leaks:
Foswiki::Plugins::JQueryPlugin::FOSWIKI
     1 from /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/Plugin.pm line: 49
Foswiki::Serialise::Embedded
     1 from /usr/local/src/github.com/foswiki/core/lib/Foswiki/Serialise.pm line: 81
Foswiki::WebFilter
     1 from /usr/local/src/github.com/foswiki/core/lib/Foswiki/WebFilter.pm line: 52
     1 from /usr/local/src/github.com/foswiki/core/lib/Foswiki/WebFilter.pm line: 53
     1 from /usr/local/src/github.com/foswiki/core/lib/Foswiki/WebFilter.pm line: 54
Unit::TestRunner
     1 from ../bin/TestRunner.pl line: 120
utf8
     1 from /usr/share/perl/5.14/utf8_heavy.pl line: 531

-- PaulHarvey - 10 Dec 2011

Ok, after distro:012cdfd9a324, seems there's some low hanging fruit in AddressTests, a crapload of leaks in WysiwygPlugin and some severe issues in RcsLiteHandler. See attached FoswikiSuite summary

-- PaulHarvey - 11 Dec 2011

Branch Foswikirev User Sys Elapsed Max Res RAM No. Tests
trunk distro:98f90cfd21a0 854 2157 57:45 2943376 2996
Release01x01 distro:e0f8d6e15f74 944 2389 1:04:11 2854640 3012

-- PaulHarvey - 19 Jan 2012

My last run of trunk shows 2718544 max res. RAM used, and we've since solved the OOM killer problem on unicode branch, so I think this task has run its course (though we still have plenty of room for improvement.)

-- PaulHarvey - 18 Jun 2012
 
Topic revision: r22 - 18 Jun 2012, PaulHarvey - This page was cached on 01 May 2018 - 22:06.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License