The
message lets you know an archive will take longer than usual. It also alerts
Garbage Collect?
you that the archive will fail if there is not enough memory.
The message can also alert you when a program is caught in a loop that repetitively fills the user
data archive. Select
No
errors in your program.
When YES is selected, the TI-84 Plus will attempt to rearrange the archived variables to make
additional room.
Responding to the Garbage Collection Message
•
To cancel, select
1:No
•
If you select
, the message
1:No
ERR:ARCHIVE FULL
•
To continue archiving, select
•
If you select
, the process message
2:Yes
Garbage Collecting...
will be displayed.
The process message
Note:
deletion is encountered. Garbage collection may take up to 20 minutes, depending on how much
of archive memory has been used to store variables.
After garbage collection, depending on how much additional space is freed, the variable may or
may not be archived. If not, you can unarchive some variables and try again.
Why Is Garbage Collection Necessary?
The user data archive is divided into sectors. When you first begin archiving, variables are stored
consecutively in sector 1. This continues to the end of the sector.
An archived variable is stored in a continuous block within a single sector. Unlike an application
stored in user data archive, an archived variable cannot cross a sector boundary. If there is not
enough space left in the sector, the next variable is stored at the beginning of the next sector.
Typically, this leaves an empty block at the end of the previous sector.
variable D
Depending on its size,
variable D is stored in
one of these locations.
to cancel the garbage collection process, and then find and correct the
.
will be displayed.
.
2:Yes
or
Defragmenting...
is displayed whenever an application marked for
Defragmenting...
Sector 1
variable A
variable B
Empty
block
variable C
Sector 2
Sector 3
Chapter 18: Memory and Variable Management
340