Description of problem: gvfs-udisks2-volume-monitor eat many memory when modprobe or rmmod zram. Version-Release number of selected component (if applicable): gvfs-1.34.0-1.fc27.src.rpm How reproducible: #!/bin/sh for((i=0;i<1000;i++)) { modprobe zram num_devices=9 sleep 0.2 rmmod zram } Steps to Reproduce: 1.watch -n -0.1 "ps aux|grep udisk" 2.Execute the following script: #!/bin/sh for((i=0;i<1000;i++)) { modprobe zram num_devices=9 sleep 0.2 rmmod zram } Actual results: the memory of gvfs-udisks2-volume-monitor goes up. Expected results: the memory of gvfs-udisks2-volume-monitor will not change.
Thanks for your report. I don't see any increase in ps output using your reproducer. Although I see some "definitely lost" entries in valgrind output, which are increasing using your reproducer, but I would say that this is not anything crucial - 17kb for your test case... what you mean with "many memory"?
I've proposed some upstream fixes, is there any change you can test them?
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days