[PD] [text] memory usage

Sebastian Shader sebfumaster at aol.com
Wed Apr 26 23:31:52 CEST 2023


Seems like the fix should already be in 0.54.afaict you can use the 'clear' or 'set' messages to set the dirty flag to 0, which will clear the undo history.but I'm also wondering if the text window actually has to exist to do so, since 'peer' text objects are possible..

-seb;

   On Wednesday, April 26, 2023 at 09:25:05 AM PDT, IOhannes m zmölnig <zmoelnig at iem.at> wrote:  
 
 Am 26. April 2023 18:03:16 MESZ schrieb "Peter P." <peterparker at fastmail.com>:
>Hi list,
>
>upon trying to add 1000 lines with [until] and [text insert] Pd/wish use up all RAM
>(and swap space) on my 8GB Debian box. Is there a way to predict memory
>usage for lines added? What would be the best strategy to do so without
>locking up Pd?



If wish is eating up the memory, then it's most likely due to the internal "undo" handling of the text-editor.
If so, there's been an issue on GitHub about that, and I think there's also a fix...


mfg.sfg.jfd
IOhannes


_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230426/485bf09b/attachment.htm>


More information about the Pd-list mailing list