[Preview Pane] Add possibility to set file size threshold to avoid showing big files
#15 508 ouverte le 13 janv. 2022
Métriques du dépôt
- Stars
- (133 154 stars)
- Métriques de merge PR
- (Merge moyen 14j 20h) (117 PRs mergées en 30 j)
Description
Description of the new feature / enhancement
Add a field where the user can specify the maximum file size he would like to show to the Preview Pane, to avoid showing big files, which would take a lot of time/RAM to load, and in some cases would crash the File Explorer.
Adding a settable parameter (e.g. max_size) would be enough to solve this problem I suppose. As an example, max_size = 1 MB would only show to the Preview Pane files of size up to 1 MB.
Scenario when this would be used?
When the file size too big for the available RAM size.
When the file size (e.g. an svg image in my case) is too big: the Preview Pane takes forever, consumes a lot of RAM to load it and then the File Explorer crashes.
Supporting information
No response