unittest weirdness

Terry Reedy tjreedy at udel.edu
Wed Mar 12 22:27:07 EDT 2014


On 3/12/2014 11:32 AM, Ethan Furman wrote:

> I strongly suspect it's memory.  When I originally wrote the code I
> tried to include six months worth of EoM data, but had to back it down
> to three as my process kept mysteriously dying at four or more months.
> There must be waaaaaaay too much stuff being kept alive by the stack
> traces of the failed tests.

There is an issue or two about unittest not releasing memory. Also, 
modules are not cleared from sys.modules, so anything accessible from 
global scope is kept around.

-- 
Terry Jan Reedy




More information about the Python-list mailing list