Re: A89: Archive Memory


[Prev][Next][Index][Thread]

Re: A89: Archive Memory




>10,000 rights isn't a lot when you think about it.. especially think of how
>many times you will archive stuff on your calculator... so should archiving
>be avoided then?

Not at all.  This topic/concern has been brought up many times on this list
and is completly unwarented.  The life span of the archive is 10,000
_garbage_collections_ not writes.  When you archive a variable the calc
puts it in the lowest memory address that it can fit it in.  Unfortunatly,
after _many_many_ archivings and unarchivings there is no more room on top
of the archive.  However there is still space, but it is lots of small
"holes" at lower addresses.  At this time a garbage collection is
performed, moving all the archived variables down to fill in the holes.
So in order to have these holes, you would have had to -- over time --
archive enough data that, if all put in at one time, would fill the achive.
The variable that you are trying to archive must also be smaller then any
variable that you have unarchived.
You can see that it would take quite a while before your calc performed one
garbage collection, much less 10,000.  I've had my calc for a six months
and it hasn't performed a garbage collection once.  And yes, I do use the
archive.

	--Nate


References: