Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PureData memory leak becomes virulent when LFOs are running #2

Open
toniarnold opened this issue Aug 17, 2017 · 1 comment
Open

PureData memory leak becomes virulent when LFOs are running #2

toniarnold opened this issue Aug 17, 2017 · 1 comment

Comments

@toniarnold
Copy link
Owner

Both Pd 0.47.1 for OS X and Pd 0.46.2 for Raspbian slowly, but steadily leak memory when an LFO is running, what effectively makes bulbs.pd unusable as a long-running system service. Reproducible in local control mode without actual bulbs when running the server with

./bulbs.py --mock
@toniarnold
Copy link
Owner Author

Commit pure-data/pure-data@ccad7db seems to fix the memory leak - but there are stability issues under heavy load when running as a service:
systemd[1]: bulbs-pd.service: main process exited, code=killed, status=11/SEGV
To use it nevertheless, clone
https://github.com/pure-data/pure-data.git
and checkout the branch
update/0.48.0
To build Pd-vanilla only on Raspbian Jessie according to
https://puredata.info/docs/developer/BuildingPd
https://puredata.info/docs/developer/Debian
the required build dependency is
sudo apt-get build-dep puredata
For running the binary in bulbs-pd.service, I have blindly installed it aside stable 0.46.2-1 and ignored the warnings about missing dependencies for now:
sudo cp ./pure-data/bin/pd /usr/bin/pd-0.48.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant