My project uses some lcm types for large binary arrays.
Before pip install lcm started installing tools like lcm-spy, we had instructions to run sudo vim $(which lcm-spy) and to change -Xmx128m to -Xmx1024m so that lcm-spy won't freeze. But now, when installed via python, which lcm-spy points to a shim. And even if I trace it back to the real launch script, changing it would only effect whichever python environment I happen to be using at the moment.
What is a robust way to ensure lcm-spy can use more memory?