[comp.sys.amiga] Lost memory

kjames@afit-ab.arpa (Keith James) (10/27/87)

I've got an Amiga 1000 w/512K and have a question regarding where
my memory keeps going and how to get it back.  Sometimes, I'll run a
program (usually something public domain) and when I'm done, not all
the memory returns (per the Workbench screen).  The problem gets really
bad when my 7 year old gets on and keeps putting screens to the background
to bring another one in.

I'll use the Amiga-n(m) sequence and get everything I see to terminate,
but am often left with under 100K, forcing me to warm-boot to get back
the MIA memory.

Is there a way under CLI (or any other less painfull) way to regain
the memory?  Also, where is it and how can I tell?  Thanks...

Keith James
afit-ab.arpa

schein@cbmvax.UUCP (10/28/87)

In article <241@afit-ab.arpa> kjames@afit-ab.arpa (Keith James) writes:
>I've got an Amiga 1000 w/512K and have a question regarding where
>my memory keeps going and how to get it back.  Sometimes, I'll run a
>program (usually something public domain) and when I'm done, not all
>the memory returns (per the Workbench screen).  The problem gets really
>
>Keith James

  This may or may not help you (But I keep telling myself it will help
  someone out there). When you load WorkBench use the "-debug" option.
  This will give you a 4th (unnamed) menu from the workbench screen having
  2 options. #1> Debug and #2> flushlibs - Debug will appear to crash your
  machine if selected. But it doesnt, hook up a 9600 baud terminal to the
  serial port and check it out :-). #2> flushlibs is the one you want to try,
  if you select this option the system will attempt to remove (flush) any
  libraries left in memory by old programs that are no longer running.

  The edited line in your startup-sequence will look like this...

  LoadWB -debug


-- 
   Dan Schein			 	uucp: {ihnp4|rutgers}!cbmvax!schein
   Commodore Business Machines		or: {allegra|burdvax}!cbmvax!schein
   1200 Wilson Drive			Bix: dschein      Plink: cbmtelecom
   West Chester PA 19380		phone: (215) 431-9100     ext. 9542
+----------------------------------------------------------------------------+
    All spelling mistakes are a result of my efforts to avoid education :-)
+----------------------------------------------------------------------------+
    Those who worked the hardest are the last to surrender   --   Gary Ward

schein@cbmvax.UUCP (10/28/87)

>  The edited line in your startup-sequence will look like this...
>
>  LoadWB -debug
>
	 I *KNEW* I forgot something, "-debug" only works with V1.2!
  	   (But then EVERYONE uses 1.2 by now, don't they ????)
-- 
   Dan Schein			 	uucp: {ihnp4|rutgers}!cbmvax!schein
   Commodore Business Machines		or: {allegra|burdvax}!cbmvax!schein
   1200 Wilson Drive			Bix: dschein      Plink: cbmtelecom
   West Chester PA 19380		phone: (215) 431-9100     ext. 9542
+----------------------------------------------------------------------------+
    All spelling mistakes are a result of my efforts to avoid education :-)
+----------------------------------------------------------------------------+
    Those who worked the hardest are the last to surrender   --   Gary Ward

bryce@hoser.berkeley.edu (Bryce Nesbitt) (10/29/87)

In article <2644@cbmvax.UUCP> schein@cbmvax.UUCP (Dan Schein CATS) writes:
>>  The edited line in your startup-sequence will look like this...
>>  LoadWB -debug
>>
>	 I *KNEW* I forgot something, "-debug" only works with V1.2!
>  	   (But then EVERYONE uses 1.2 by now, don't they ????)

Nope.  Works on V1.1.  Had more features even! (Stuff to dump out the
WBs internal data structures).  Probably works on V1.0 as well.

	But then again, only Atari ST fans (who want to prove the Amiga
	crashes too often) use V1.1 Kickstart.

"Flushlibs", of course, will only flush libraries and fonts that are not
in use.  It won't reclaim dirty memory left over by programmers, but can
be of use to a programmer trying to fix defective software.  If your
software leaves *any* memory unaccounted for it has a bug.  I'm real
sick of all these program that leave directory locks hanging in memory
after exit.  (Ahh, if only the IBM PC had that problem... :-)

|\ /|  . Ack! (NAK, SOH, EOT)
{o O} . bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce
 (")
  U	"I never said you _could_, I merely said you _should_." -Humpty
	Dumpty	

erd@tut.cis.ohio-state.edu (Ethan R. Dicks) (10/29/87)

When you load up workbench under WB1.1 with the -debug flag, the content of
the hidden menu selection is different, but still present.  The selections
are 'debug', 'variables', 'wblist', and 'vollist'.  Just what good they are
is beyond me.  I put it to the good people at CATS to please let us know 
what these things do and why they were removed from WB1.2 ROM-Wack...

Thank you in advance,
 -ethan

*******************************************************************************

This .signature will self-destruct in five seconds...four...three...two...one..

BBBBBBBBBBOOOOOOOOOOMMMMMMMMMM!!!!!!!!!!

*******************************************************************************

schein@cbmvax.UUCP (Dan Schein CATS) (10/29/87)

In article <21498@ucbvax.BERKELEY.EDU> bryce@hoser.berkeley.edu (Bryce Nesbitt) writes:
>In article <2644@cbmvax.UUCP> schein@cbmvax.UUCP (Dan Schein CATS) writes:
>>>  The edited line in your startup-sequence will look like this...
>>>  LoadWB -debug
>>>
>>	 I *KNEW* I forgot something, "-debug" only works with V1.2!
	      
	 What I forgot was that it *DOES* work with V1.1.
>
>Nope.  Works on V1.1.  Had more features even! (Stuff to dump out the
>WBs internal data structures).  Probably works on V1.0 as well.
>
	Yes it does work with V1.0 and it gives you 1 less option than
	V1.1. That option -> "flushlibs" (Seems to me thats how this
	whole thing got started :-)
-- 
   Dan Schein			 	uucp: {ihnp4|rutgers}!cbmvax!schein
   Commodore Business Machines		or: {allegra|burdvax}!cbmvax!schein
   1200 Wilson Drive			Bix: dschein      Plink: cbmtelecom
   West Chester PA 19380		phone: (215) 431-9100     ext. 9542
+----------------------------------------------------------------------------+
    All spelling mistakes are a result of my efforts to avoid education :-)
+----------------------------------------------------------------------------+
    Those who worked the hardest are the last to surrender   --   Gary Ward

andy@cbmvax.UUCP (Andy Finkel) (10/31/87)

In article <729@tut.cis.ohio-state.edu> erd@tut.cis.ohio-state.edu (Ethan R. Dicks) writes:
>When you load up workbench under WB1.1 with the -debug flag, the content of
>the hidden menu selection is different, but still present.  The selections
>are 'debug', 'variables', 'wblist', and 'vollist'.  Just what good they are

debug gets you to ROMWack
the others show you Workbench internal variables.  It 
was removed to same ROM space!

(Hey, we almost lost the whole thing...I begged Neil to leave
at least those two :-)  )
-- 
andy finkel		{ihnp4|seismo|allegra}!cbmvax!andy 
Commodore-Amiga, Inc.

"Interfere?  Of course we'll interfere.  Always do what you're best at,
 I always say."

Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.