It looks like you're new here. If you want to get involved, click one of these buttons!
Hello, I'm currently programming a little game and for that i need to load some image and musics that will be used very often. The fact is that i got two problem: - When the program close, no matter the reason, the memory isn't freed and so every time i run it uses more and more ram. For example i can't run it more that two times without manually killing the process in windows which is a bit frustrating when i must fix 50 bugs or so. - The other problem is that processing with python uses a lot of memory compared to the total size of the file that i load: 2.5 giga of ram for only 40mb of assets. I don't know if i have to post my code because nobody would have the patience to read 380 lines of it. But if you want to see it i can give it. Finally, i hope those issues are fixable and sorry for my bad english, i'm french.