Clear Kernel History
- To: Mathematica user's group <MathGroup at yoda.physics.unc.edu>
- Subject: Clear Kernel History
- From: Robby Villegas <Villegas at knox.bitnet>
- Date: Thursday, February 27, 1992
Sometimes when I have depleted most of the available memory during a Mathematica session, especially on the Mac, I want to free some without quitting the application and re-starting the front-end and kernel. So I use the Find box to search and destroy graphics cells, but sometimes I want to free more space, and I'm reminded of the menu command "Clear Kernel History" that existed in version 1.2 (on the Mac, at least) but doesn't in version 2 (as far as I can tell). So I wrote a little command to Unprotect, Clear, and then re-Protect those records that seemed to make up the kernel's history: In, Out, InString, and MessageList. My question is: as long as I'm willing to sacrifice those records of the session, is there any danger in clearing those variables, in terms of interfering with the program itself and causing problems (e.g. crashing) later on? Also, if there's no such danger, are there other sacrificeable records besides those four? Robby Villegas Knox College (Villegas at Knox.Bitnet)