up Inquisit Language Reference

availablememory property

This property reports how much free memory remains available on the computer.

Member of

<computer>

Remarks

This is useful for determining whether a given computer has enough memory to run a script. When available memory drops to zero, Windows will resort to "page swapping" (caching memory on the hard drive), which can impose significant delays in the execution of a script. A script might record this information to the data file in order to discard data from participants using old computers.

Examples

The following displays the available memory mode:

<text sometext>
/ items= ("correct = <% computer.availablememory %>")
</text>

The following displays the application mode in an instruction page:

<page somepage>
correct = <% computer.availablememory %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.