-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource exhaustion after refreshing floppy too many times #19
Comments
I believe the cause is that the file record memory (aux lc bank 2 at $Dxxx) gets fragmented. Each window needs a byte (count) plus 32 bytes per file. |
Yep. So to fix, this would require defragmenting. In |
Good news and bad news! Good news: There is compaction - see Bad news: Space is only reclaimed for windows with owning icons (i.e. the vol/folder that opened it) Good news: This gives us the following repro for a leak:
At this point:
Repeating this 8 times would therefore exhaust the table, so no new windows can open without restarting. 💥 Bad news: Fixing this will require altering the table to use something other than the icon number, e.g. it could use the window number. |
For reference: |
Eventually things go bad when Check Drives etc. is used too many times.
The text was updated successfully, but these errors were encountered: