[PD] RPi Debug

michael strohmann itsnotfair9 at gmail.com
Mon Dec 3 11:57:28 CET 2018


Beloved List! 
i am in the process of debugging a audio-installation that is running on a RPi B+.
i noticed that the RPi restarted because it was running out of memory.
it seams that the pd-gui.tcl process i piling up memory and eventually crashes.
any hints on what could be the root of the problem?


USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root       636  2.0 49.9 543008 474092 ?       Sl   Dec02  33:11 wish /usr/lib/puredata/tcl//pd-gui.tcl 5400
root       626  6.5  0.4  30272  3888 ?        Sl   Dec02 108:16 puredata /home/pi/MAW_ArbeitIstUnsichtbar/03_LightRoom_Loop.pd

currently (according to the ps aux —sort -rss|head) it seams that the memory usage is decreasing again.
but right after a restart, it looks more like this:

root       759  9.2  1.4  27096 13900 ?        Sl   10:44   0:03 wish /usr/lib/puredata/tcl//pd-gui.tcl 5400
root       734  6.5  1.2  30256 12016 ?        Sl   10:44   0:02 puredata /home/pi/MAW_ArbeitIstUnsichtbar/02_DarkRoom.pd

i am running vanilla pd, use wiringPi_gpio to read out Sensor data and use netreceive/netsend to communicate with a remote control which sends OSC via UDP…
i also setup the RPi so that whenever PD is unresponsive for some time, it restarts the raspi…
the raspi also runs LXDE - is it much better to run pd without gui??

Thanks!
Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181203/94dfd9f8/attachment.html>


More information about the Pd-list mailing list