[issue41587] Potential memory leak while using shared memory

2020-08-19 Thread
李超然 added the comment: Thank you Tim Peters for replying to me. I tried your demo and it is a proof exactly I want. It did prove that there is no memory issue. And I tried to modify my own code and showed the same result. I will close this issue. -- resolution: -> not a bug st

[issue41587] Potential memory leak while using shared memory

2020-08-19 Thread
李超然 added the comment: Sorry, I don't know what I can do about it. In my perspective, I think there is a memory leak because monitor software have provided proof for me to believe that. I have provided a script to reproduce this issue. I think that is enough for developers to conduct

[issue41587] Potential memory leak while using shared memory

2020-08-19 Thread
李超然 added the comment: Okay. I know this is complicated. So how can I make sure this is not an issue? Can you provide some steps or a bash script to prove that the memory increment issue does not exist? I'm now not being persuaded because I don't know how to prove there is no issue

[issue41587] Potential memory leak while using shared memory

2020-08-19 Thread
李超然 added the comment: You mean if I have a machine that has 16GB RAM, and the maximum shared memory size is 8GB. I then create two processes to write to this shared memory, and the system won't run out of memory. Is it right? I can try this experiment later on. But I can not understand

[issue41587] Potential memory leak while using shared memory

2020-08-19 Thread
New submission from 李超然 : We find an issue while using shared memory. When opening another process to overwrite the shared memory, the memory of this process will increase to about the size of this shared memory. So when several processes try to read or write the shared memory, there will be