Changeset 8525


Ignore:
Timestamp:
08/17/10 06:12:40 (18 months ago)
Author:
MichaelTempest
Message:

Item2286: This one test uses up several hundred meg and that is only reclaimed at the end of the tests. I am making it run in a separate process so that we can reclaim that memory immediately.

I am not sure what causes the huge memory consumption. There may be a memory leak - I do not know. This is a bandaid so that running the tests is less painful on low-resource machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UnitTestContrib/test/unit/Fn_SEARCH.pm

    r8520 r8525  
    2121    my $self = shift()->SUPER::new( 'SEARCH', @_ ); 
    2222    return $self; 
     23} 
     24 
     25# This particular test makes perl chew several hundred megabytes underl 5.10.0 
     26# Devel::Leak::Object does not report any particular problems with this test. 
     27# This test is run in a separate process to be able to reclaim that memory 
     28# after the test is complete. 
     29sub run_in_new_process { 
     30    return 1; 
    2331} 
    2432 
Note: See TracChangeset for help on using the changeset viewer.