NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Item2286: looking into why the unit test FoswikiSuite? uses more memory over time
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
New |
Engine |
|
|
basically, I am wondering if there's a memory leak that will show up in run time, or if its just sloppy test code (I'm beginning to think the latter.)
--
SvenDowideit - 24 Oct 2009
Touch of over-enthusiasm there; clearing the static session object in extender.pl is going to blow away any installation checkins after the first. Need:
Index: extender.pl
===================================================================
--- extender.pl (revision 5505)
+++ extender.pl (working copy)
@@ -161,9 +161,6 @@
# Can't do this until we have setlib.cfg
require Foswiki::Configure::Dependency;
-$session->finish();
-undef $session;
-
sub remap {
my $file = shift;
--
CrawfordCurrie - 13 Nov 2009