comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » simple questions: position and strings
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Simple questions [message #2839 is a reply to message #809] Tue, 27 September 1994 07:20 Go to previous messageGo to previous message
landers is currently offline  landers
Messages: 45
Registered: May 1993
Member
In article <Cwr0y2.GxA@usenet.ucs.indiana.edu>, amaravad@silver.ucs.indiana.edu (ratnakar amaravadi) writes:
[snip]
|> Once you no longer need the matrix, just set matrix=0
|> This will automatically reset the matrix to a scalar
|> and release all additional space to the OS.
|> This will help you conserve memory.

Almost right. Setting a matrix to a scalar does release the memory, but not
back to the OS - it goes back to 'free' memory available to IDL/WAVE.

The memory is still allocated to IDL/WAVE, but becomes available for you to
use for other IDL/WAVE variables.

This is a good practice, and does save memory (by encouraging memory reuse by
IDL/WAVE) - but once you've allocated memory, you can't give it back to the OS.

;Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 941005.news-idlusers-gateway
Next Topic: CW_PDMENU enhancement

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 10:58:40 PDT 2025

Total time taken to generate the page: 0.95288 seconds