linuxmint / blueberry

A Bluetooth configuration tool
GNU General Public License v3.0
182 stars 53 forks source link

rfkillMagic: rewrite safechild in shell script to reduce memory usage #115

Closed lightmare closed 3 years ago

lightmare commented 3 years ago

As the title says. Python safechild eats nearly 4MB of unshared memory. With dash running the shell script it's ~100kB.

lightmare commented 2 years ago

Thanks for merging.

I should note that around the time of this PR, I also made a PR for rfkill, which got merged but not yet appeared in a release. If/when a version with that patch applied is available, rfkill event can be invoked directly without the safechild wrapper.