Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!ucbvax!unirot.UUCP!patwood From: patwood@unirot.UUCP.UUCP Newsgroups: comp.laser-printers Subject: Re: Is there any way to clear VM in LaserWriter? Message-ID: <8709211642.AA13969@brillig.umd.edu> Date: Sun, 13-Sep-87 01:53:09 EDT Article-I.D.: brillig.8709211642.AA13969 Posted: Sun Sep 13 01:53:09 1987 Date-Received: Sat, 26-Sep-87 14:33:58 EDT References: <4985@jade.BERKELEY.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: unirot!patwood@RUTGERS.EDU (Patrick Wood) Distribution: world Organization: Pipeline Associates, Inc. Lines: 32 Keywords: Apple LaserWriter, virtual memory, reset Approved: laser-lovers@brillig.umd.edu Here's how you can "manage" your permanent VM: First you put the following at the beginning of whatever it is you want to "pop" at a later time: serverdict begin 0 exitserver /$$SAVESERVER save def anything you want here... CTRL-D Now to "pop" what you've put into VM above, just do this: serverdict begin 0 exitserver $$SAVESERVER restore CTRL-D All the information loaded in after the previous save is tossed, recovering your VM. This is essentially what the job server does (perform a save and restore) around a user's job. Note that you should NOT do the $$SAVESERVER restore except after the exitserver operation, as the interpreter will get quite confused when the current job ends (and it can't find the save object it stored when the job started) and will restart itself, doing just what you don't want it to do. Pat Wood Editor, The PostScript Language Journal bellcore!phw5!phw flash.bellcore.com!phw5!phw