All,

> I think you (=Matt) should look at this one first... 

Agreed.  I have a much newer laptop (running Windows) that I will give a test on.  Your (Harald) comments made sense.  Let me get back to you guys tonight after trying a few of these things.  And just for clarity, I never intended to use .duration as I assumed it required more overhead (including requesting memory)... my goal was to use .clear, but when that failed, I moved on.  Regardless, I'll let you guys know what I find.  I really appreciate all the thoughts and help.

-Matt


> From: hg42@gmx.net
> Date: Fri, 27 Apr 2012 15:41:15 +0200
> To: chuck-users@lists.cs.princeton.edu
> Subject: Re: [chuck-users] LiSa looping issue
>
> > Probably, yes. Especially allocating memory is a OS task and so
> > depends on when the OS would like to get 'round to that. Most OS's are not
> > optimised for realtime performance there. Therefore it's not
> > recommended to allocate memory in programms that need realtime
> > performance.
>
> yes, this makes me think of Matt's words: "is it possible that the low
> amount of RAM?".
> Allocating memory from RAM alone isn't such a big thing nowadays (but
> may be on your old laptop).
> *But*, if memory is low, this might make the OS swap thing out of the
> RAM, which is the main problem for real time performance.
> Swapping stops the program for some time, which may easily exceed the
> time for playing one buffer.
> Especially on an old laptop which often has slow disks.
>
> I think you (=Matt) should look at this one first...
> _______________________________________________
> chuck-users mailing list
> chuck-users@lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users