Is there a way to configure only NetworkManager to use tcmalloc permanently?
I tried adding LD_PRELOAD to /etc/init.d/network-manager or /etc/init/network-manager.conf and it does not work.
However setting LD_PRELOAD tcmalloc globally for the whole system in /etc/ld.preload.conf does fix network manager but breaks other things like firefox.
Is there a way to configure only NetworkManager to use tcmalloc permanently?
I tried adding LD_PRELOAD to /etc/init. d/network- manager or /etc/init/ network- manager. conf and it does not work.
However setting LD_PRELOAD tcmalloc globally for the whole system in /etc/ld. preload. conf does fix network manager but breaks other things like firefox.