Python instance growing while ZTC
Hi all. Apologies in advance if my question has a somewhat obvious answer. I'm working on a Zope application, developed as a python product. I've ZTC in place for this application. While I run all the ZTC, I can see python process size growing. Can I use this as an indication of a leak of resources in my application? Thanks in advance for your attention. Regards Marco -- Marco Bizzarri http://iliveinpisa.blogspot.com/
Marco Bizzarri wrote:
Hi all.
Apologies in advance if my question has a somewhat obvious answer.
I'm working on a Zope application, developed as a python product.
I've ZTC in place for this application. While I run all the ZTC, I can see python process size growing. Can I use this as an indication of a leak of resources in my application?
Probably not. I suggest running your tests multiple times in a loop using the -N switch of the test runner. If the memory consumption grows with each repetition of the tests, you may have a leak.
participants (2)
-
Marco Bizzarri -
Philipp von Weitershausen