New submission from Serhiy Storchaka:

POINTER() saves its result in internal cache. test_pointer_type_name and 
test_pointer_type_str_name use large names and resulting types consume much 
memory. This can be one of the causes of tests failure on the AIX buildbot with 
very limited memory.

If run tests repeatedly, the cache grows and can consume all memory even on the 
machine with enough memory.

Proposed patch fixes leaks.

----------
components: Tests, ctypes
messages: 254295
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fixed memory leaks in test_ctypes
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25582>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to