Re: [PD] pure data upper memory limit ?

2017-11-11 Thread Christof Ressi
yes, on windows the limit for 32 bit processes is around 2GB. theoretically you 
can address ~4GB but half of it is reserved for the system:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx

there is a tweak which allows for full 4GB in user space but I never tried it:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb613473(v=vs.85).aspx

Christof


> Gesendet: Samstag, 11. November 2017 um 23:13 Uhr
> Von: "Jean-Yves Gratius" 
> An: pd-list@lists.iem.at
> Betreff: [PD] pure data upper memory limit ?
>
> Hi, list
> I use pd 32 bits (0.48) on windows 8.1
> 
> I have a patch with lots of array and loaded abstractions,
> In Windows task manager i can see that pd uses  circa 900 Mo of ram.
> from time to time, I get some messages 'out of memory', i cannot resize 
> arrays.
> Is there any memory limitation I 'm reaching with my patch ?
> thanks
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] pure data upper memory limit ?

2017-11-11 Thread Jean-Yves Gratius

Hi, list
I use pd 32 bits (0.48) on windows 8.1

I have a patch with lots of array and loaded abstractions,
In Windows task manager i can see that pd uses  circa 900 Mo of ram.
from time to time, I get some messages 'out of memory', i cannot resize 
arrays.

Is there any memory limitation I 'm reaching with my patch ?
thanks


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Changing pd path in Settings stores current audio api to .pdsettings

2017-11-11 Thread Peter P.
* IOhannes m zmölnig  [2017-11-11 00:10]:
> On 11/10/2017 01:46 PM, Peter P. wrote:
> > Hi list,
> > 
> > For many years I started pd on Linux from the console with its default audio
> > settings from my then .pdrc defaulting to alsa with a simple
> > pd
> > 
> > When I needed pd to use jack I would start 
> > pd -jack
> > 
> > Nowadays it seems that pd stores whatever audio API I am currently using
> > whenever I change any aspect of its settings, eg. changing search paths.
> > 
> > This can lead to
> > pd
> > telling me that jack is not running. I have to check every time I modify 
> > any pd setting which audio API gets stored to
> > .pdsettings and if that is my prefered default (alsa). Is there anything
> > I can do to have a fixed default API regardless of other settings (a
> > bash alias is not an option)?
> 
> i was going to suggest an alias, but alas.
> 
> how about a wrapper script?
> 
> ~~~
> $ cat /usr/local/bin/pd
> #!/bin/sh
> /usr/bin/pd -alsa "$@"
> $
> ~~~
Thank you!
This works indeed as pd is able to handle
pd -alsa -jack
and jack is given preference without an error message while
pd -jack -alsa 
does indeed select alsa.

Another nasty temporary workaround is to remove write permissions on 
.pdsettings.
 
> there's a related PR on github (it doesn't solve your problem, but also
> tries to avoid spilling some cmdline options into the Pd-settings)
>   https://github.com/pure-data/pure-data/pull/153
Good to know! Perhaps the same should be done for the audio API
settings? Dan?

best, Peter

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] blinkenlights player without rendering in window

2017-11-11 Thread Peter P.
(CCing the list to keep the thread within)

* Markus Brandt <2brand...@gmail.com> [2017-11-10 22:15]:
> convert your ..blm files into .mov and do it in gem. whatever you need
> zmoelnig offers it. since decades.
> please rtfm. your descrition of needs is a little bit
I am afraid my question was about something different. I am not trying
to render sth into a movie, nor display a movie. I am trying to read a
.blm file and get the pixel data from it as pd messages so that I can
light up anything (eg. graphical bang objects) as pixels.

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list