[New-bugs-announce] [issue23839] Clear caches after every test

Serhiy Storchaka report at bugs.python.org
Wed Apr 1 13:30:41 CEST 2015


New submission from Serhiy Storchaka:

Some caches can grow unlimitedly during running the testsuite (in particular linecache). On some machines with limited resources this can cause multiple MemoryErrors. Many of these MemoryErrors can be avoided if clear caches between tests. Lib/test/regrtest.py already contains a code for cleaning caches, but it is used only with the -R option.

----------
components: Tests
messages: 239782
nosy: ezio.melotti, haypo, michael.foord, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Clear caches after every test
type: resource usage
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23839>
_______________________________________


More information about the New-bugs-announce mailing list