Where does the memory go?

Richard Gaskin ambassador at fourthworld.com
Thu Jun 30 19:23:19 EDT 2005


Dennis Brown wrote:
> Hi all,
> 
> I have been using custom properties and custom properties sets to  store 
> results from different data analysis.  This requires me to  delete the 
> properties of the last run before proceeding with the next  run.  There 
> are many many automatically generated properties in the  sets.  I 
> started to wonder what happens to the memory when I delete a  key.  The 
> properties can no longer be seen because the key is gone,  but what 
> about the memory space.  Does Rev garbage collect the space  to recover 
> it?  I am concerned that I will create this huge legacy of  garbage 
> memory structures that will continue to grow as my program is  run and 
> saved over many months.
> 
> Can anyone verify that the program memory space will be recovered?

Another way to ask that question would be to pose it as its corollary: 
do we have evidence of memory leaks in Rev?

There may be, but it seems not too difficult to test:  make a project 
that adds and deletes large sets of custom props and objects containing 
large amounts of data, check the memory usage before it starts, let it 
run all night, and check it again in the morning.

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list