Re: [Tutor] How to debug a memory leak in a wsgi application?

2017-12-13 Thread James Chapman
Why pymalloc? I presume this means you're using ctypes which means I have more questions. If you're allocating your own blocks of memory then you need to free them too. IE, does each call to pymalloc have a corresponding call to pyfree? Is the overhead of pythons built in malloc really a problem?

Re: [Tutor] How to debug a memory leak in a wsgi application?

2017-12-13 Thread Etienne Robillard
Hi James, Thank for your reply. Are you suggesting that under Linux the malloc() glibc library call is more memory efficient than using pymalloc? Best regards, Etienne Le 2017-12-13 à 12:27, James Chapman a écrit : Why pymalloc? I presume this means you're using ctypes which means I have m