[plt-scheme] persistent data (i.e., between runs)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu May 11 14:13:24 EDT 2006

At Wed, 10 May 2006 20:17:39 -0700, John Clements wrote:
> Is there any simple way to preserve a value between evaluations of a  
> program in the definitions window?

I think you'd have to write a tool that adds this feature to the
programming environment.

> The situation is this: I'm working with a big xml expression (35 Meg  
> in s-expression form, 7 Meg written as a .zo), and successive  
> evaluations of the program that reads the data from disk are  
> squonching my DrScheme.  In particular, DrS gets many megabytes  
> bigger each time I evaluate the program, and running it more than  
> four or five times crushes my poor little 512Meg Mac Mini.  More  
> precisely: I have to force-quit DrScheme.
> Now, this may or may not be a memory bug--DrScheme 3m lasts much  
> longer, but still grows by ten or twelve megabytes each time I hit  
> execute

It certainly sounds like something in the run-time system should be
improved. I'll take a look when I can.


Posted on the users mailing list.