From:  Rav <PaulR@cais.com>
Date:  12 Oct 2018 02:00:39 Hong Kong Time
Newsgroup:  news.alt119.net/comp.lang.apl
Subject:  

Re: Why did my APL+Win WS grow dramatically?

NNTP-Posting-Host:  null

On 10/11/2018 12:51 PM, Don Wiss wrote:
> I am using version 7.2 of APL+Win. I had the license key to 8, but it was
> left in an e-mail inbox that was shut down. And APL2000 won't give me the
> key. Though I doubt there is any difference that matters to me, as I don't
> do any Windows calls.
> 
> I noticed that the workspace recently has taken a long time to save. I
> looked at Windows Explorer. The WS file was huge! I cleared and copied in
> the WS. The size of the functions decreased 20%, as no more pseudo code.
> Using the []size function, the variables and functions total to 3MB. Yet in
> Windows Explorer the file is 1,128MB. What happened? How can I fix?
> 
> Don. www.donwiss.com (e-mail link at home page bottom).
> 

First, make sure the workspace isn't saved with anything on the stack ( 
)SI is empty).

Then, it's been years so my memory on this is hazy, but there's a system 
command )FRISK which I THINK checks for bad memory entries inside the 
workspace (after you've loaded it).  )FRISK is a toggle; it's default is 
OFF so running it once turns it ON.  I THINK that if there's already 
damage in the workspace that it clears it, but I'm not sure.  That may 
be a separate system command; sorry, but I don't remember for sure.  But 
if )FRISK displays anything at all, then there's definitely something 
wrong in there.  Make sure to turn it OFF afterwards.  Also make SURE to 
make a backup of your workspace first.  If you run it and it displays 
anything, then re-save the workspace and see if the size has gone down. 
Again, make sure to make a backup first!  You may find that fixing the 
damage means that something that should be there disappears, since it 
was damaged.  You'll have to check the integrity of your programs and 
data to see.  If that doesn't help I can contact someone I used to work 
with to see if they remember the (possibly) other system command that 
might help.