I have tried clearing the RAM already.
Have you looked at the amount of ROM available? If I'm not mistaken, Garbage Collect deals with ROM, not RAM. If your ROM is too low, the calc may be trying to fix this. You may just have to delete some stuffs.
GarbageCollect happens when you create and delete variables in flash frequently. You probably have a program or shell or something installed that automatically does something with ROM. This isn't my area of expertise, though.
Make sure your Archives have a reasonable amount of space.Also, Archiving and Unarchiving in excess usually triggers Garbage Collect. It really doesn't mean your calculator will die though, it probably just means that its trying to prevent itself from crashing. Also, try to refrain from having too many programs on your calculator; that will make you need to Archive and Unarchive way more than usual.
That is very helpful, I deleted a few programs and did away with a few excess DelVar and archive commands and it seemed to help, Also, it seems it might have something to do with Doors CS7, specifically it's in-shell editor and HomeRun hook. If anybody could confirm this or prove it incorrect it would be very helpful, but it's not imperative.
I run DCS7 all the time and have never had an issue with the in-shell editor or the HomeRun hook affecting my rom
Ok, it was probably something else. :P
In order to understand the reason for garbage collection, you must first understand something about the operation of the flash ROM. Basically the ROM is divided into blocks which must be entirely erased before they can be written over. When you erase something from the ROM, the calculator merely removes the reference to the location of the data. When you Archive a variable or add an application to the ROM, the OS searches for free areas that have not yet been written to. If there is not enough unwritten space available, the OS starts the garbage collection process, which attempts to move saved data to the fewest number of blocks possible and then clears the remaining blocks so that they may be written to. By limiting the number of writes to the ROM, the calculator will not need to garbage collect as often and the ROM will last longer.
That was very helpful, thank you. I deleted a few apps to free up archive and started only archiving large programs when necessary and it solved the problem.