3 ms·
>>> Q: Whenever Python exists, why isn’t all the memory de-allocated? Is it me or this sentence makes no sense?
by user5994461 8y ago
>>> Q: Whenever Python exists, why isn’t all the memory de-allocated?
Is it me or this sentence makes no sense?
- jnotarstefano 8y agoI think it's a typo: "Whenever Python EXITS, why isn't..."
- paol 8y agoI think so too, but that still leaves the problem that the statement is false. I was really puzzled by this one.
- viraptor 8y agoI think that OP is making a distinction between "deallocated by python's GC" and "dropped on the floor for the OS to collect". Maybe a practical phrasing would be: "why does running Valgrind on a Python app show that some memory was never freed".
- guan 8y agoIs it because there might be another Python process running, that was started after this one started, that has mapped the same executable or shared libraries?
- luminousmen 8y agoYes, it's a typo, will change
- deleted 8y ago[deleted]