[Python] Memory leakage while using python 2.7

Discussão em 'Python' iniciado por Stack, Abril 19, 2025.

  1. Stack

    Stack Membro Participativo

    I am running gem5 simulator which uses C++ and python, and I have added more codes to it. When I use python 2.6 everything is alright, but the same code on a system with python 2.7 has very high memory leakage. The code is so big and I have no idea where is the source for memory leakage. I checked the code several times and it seems every object has been deleted.

    Is it related to python version? How can I find the source of memory leakage?

    Continue reading...

Compartilhe esta Página