Re: CPU problems only after hours

Jakobweb via Pd-list <[email protected]> Wed, 15 Apr 2026 10:30:59 +0200
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
Thank you Antoine,

this sounds interesting. Indeed, I use $1,$2.. to set labels, colors and values. I dont use it with my sensor values but for setting and updating the gui elements of the matrix instrument.

Maybe I can start the patch with the -nogui option. Would that be a way to check if I do have this symbol-problem?

What is the gensym-function? I havent heard of it. I will research a little bit!

Best, Jakob

Am 14.04.2026 um 15:23 schrieb Antoine Rousseau <[email protected]>:



Another possibility: you're creating too many Pd symbols.

This often happens when generating gui labels from sensor values or other high-resolution values.

Things like

[label bar:$1_beat:$2_tick:$3_ms:$4(

or

[symbol sensor:$1(

can quickly build hundreds of thousands of symbols, that will stay registered forever.

The symbol hash-table (hence the gensym() fonction) can become rather slow when too many symbols are registered.

Antoine

Le mar. 14 avr. 2026 à 14:05, cyrille henry via Pd-list <[email protected] > a écrit :

Le 14/04/2026 à 12:59, Jakobweb via Pd-list a écrit :

...

> Do you have some ideas that could point me into the right direction?

My 1st guess : if the computer is becoming hot, the max CPU frequency is decreased by the hardware so the computer becomes slower.

Cheers

c

---

[email protected] - the Pure Data mailinglist

https://lists.iem.at/hyperkitty/list/[email protected]/message/ESKPQ7K4R5Q2VZQQIN4MINR5DVDFZCQK/

To unsubscribe send an email to [email protected] mailing list

UNSUBSCRIBE and account-management -> https://lists.iem.at/

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/WNCZO5GSMIVG3IQU2LJWECOC2HY5CISI/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/YEVMOCUYT7SE24J6AFXFOWDDBCPAIZAS/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/