<div dir="ltr"><div dir="ltr">If you don't need the GUI and maybe even run the Raspberry Pi headless, there is no need to run PD with it and the desktop at all, that way it saves some CPU cycles even. PD can be started on commandline with the parameter -nogui<div>We use that combination Raspberry Pi and PD i.e. as effect device in concerts. I wrote some details here:</div><div><a href="http://www.block4.com/index.php?id=169">http://www.block4.com/index.php?id=169</a><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 4, 2018 at 5:50 PM michael strohmann <<a href="mailto:itsnotfair9@gmail.com">itsnotfair9@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="margin:0px;font-size:11px;font-family:Menlo">Beloved List! </div><div style="margin:0px;font-size:11px;font-family:Menlo">i am in the process of debugging a audio-installation that is running on a RPi B+.</div><div style="margin:0px;font-size:11px;font-family:Menlo">i noticed that the RPi restarted because it was running out of memory.</div><div style="margin:0px;font-size:11px;font-family:Menlo">it seams that the pd-gui.tcl process i piling up memory and eventually crashes.</div><div style="margin:0px;font-size:11px;font-family:Menlo">any hints on what could be the root of the problem?</div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo">USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND</div><div style="margin:0px;font-size:11px;font-family:Menlo">root       636  2.0 49.9 543008 474092 ?       Sl   Dec02  33:11 wish /usr/lib/puredata/tcl//pd-gui.tcl 5400</div><div style="margin:0px;font-size:11px;font-family:Menlo"><div style="margin:0px">root       626  6.5  0.4  30272  3888 ?        Sl   Dec02 108:16 puredata /home/pi/MAW_ArbeitIstUnsichtbar/03_LightRoom_Loop.pd</div></div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo">currently (according to the ps aux —sort -rss|head) it seams that the memory usage is decreasing again.</div><div style="margin:0px;font-size:11px;font-family:Menlo">but right after a restart, it looks more like this:</div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px"><font face="Menlo"><span style="font-size:11px">root       759  9.2  1.4  27096 13900 ?        Sl   10:44   0:03 wish /usr/lib/puredata/tcl//pd-gui.tcl 5400</span></font></div><div style="margin:0px"><font face="Menlo"><span style="font-size:11px">root       734  6.5  1.2  30256 12016 ?        Sl   10:44   0:02 puredata /home/pi/MAW_ArbeitIstUnsichtbar/02_DarkRoom.pd</span></font></div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo">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…</div><div style="margin:0px;font-size:11px;font-family:Menlo">i also setup the RPi so that whenever PD is unresponsive for some time, it restarts the raspi…</div><div style="margin:0px;font-size:11px;font-family:Menlo">the raspi also runs LXDE - is it much better to run pd without gui??</div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo">Thanks!</div><div style="margin:0px;font-size:11px;font-family:Menlo">Michael</div><div style="margin:0px;font-size:11px;font-family:Menlo"><br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Malte Steiner<div>media artist | electronic musician</div><div><a href="http://www.block4.com" target="_blank">http://www.block4.com</a></div><div><br></div><div><a href="mailto:E-mail%3Amktsteiner@gmail.com" target="_blank">E-mail:mktsteiner@gmail.com</a></div><div>phone: +49 (0) 1775522275</div><div><br></div><div>sign up for the block4 newsletter:</div><div><a href="http://eepurl.com/c-4HCn" rel="nofollow" style="color:rgb(54,88,153);text-decoration:none;font-family:"SF Optimized",system-ui,-apple-system,BlinkMacSystemFont,".SFNSText-Regular",sans-serif;font-size:14px;letter-spacing:-0.11999999731779099px" target="_blank">http://eepurl.com/c-4HCn</a><br></div></div></div></div></div>