Is it possible to monitor copy on write for forked linux processes? (specifically python)
问题 I have a set of python processes that share a large object (sharing is done by forking the processes after initializing the object) I notice a strange memory leak: the process memory (VSZ and RSS) hardly change the total system memory increases steadily My guess is the shared object does change (it's 'logically' readonly, but it's possible that some internal private variables change even when just reading from it) - which causes memory pages to be copied is there a way to verify this? 回答1: To