[fpc-pascal] Memory Size

Marco van de Voort marcov at stack.nl
Fri Apr 3 12:39:05 CEST 2009

In our previous episode, Markus Glugla said:
>  (very very quick) memory as a cache as soon as practicable. I would  
>  cache streams of measurement values (single type, sample rate circa  
>  32KHz). The measurement program will run on diffrent machines with
>  diffrent RAM. Depending on the free memory the number of measurement
>   values or the measurement times are diffrent. The reason to know the
>  free  memory is to decide what or how should I measure. All buffered
>   prints  into a file are to slow and produce underruns. My idea is to 
>    stream  the  measurement values into an array and write the array on
>   disk  after the measurement. To do this I must know the memory ;-)
>  Is there a other way to get the free memory size?

As Jonas said you first have to define that value in a multitasking

More information about the fpc-pascal mailing list