Track preview memory cleanup
This commit is contained in:
parent
2bcbbafbcf
commit
fce5a0aa5d
2
TODO.md
2
TODO.md
@ -36,7 +36,7 @@ Priority levels:
|
||||
- [x] Lazy-load profile images and concept art.
|
||||
- [ ] Update only affected table rows instead of rebuilding entire tables.
|
||||
- [ ] Add an LRU cache for audio and images and remove old entries automatically.
|
||||
- [ ] Revoke discarded object URLs with `URL.revokeObjectURL(objectUrl)`.
|
||||
- [x] Revoke discarded object URLs with `URL.revokeObjectURL(objectUrl)`; completed synthesized voice previews now release their Blob URLs when playback ends.
|
||||
- [x] Add low-memory mode using `navigator.deviceMemory` where available; shared worker pools cap at two tasks on devices reporting approximately 4 GB RAM or less.
|
||||
- [ ] Disable image preloading and reduce table/cache sizes on devices with approximately 4 GB RAM.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user