Oliver-Loeffler / FXFileChooser

Custom JavaFX file chooser which allows quick manual filtering, which allows to add Path predicates as filter and which is testable using TestFX.
Apache License 2.0
44 stars 8 forks source link

Reduce memory consumption for large folders #46

Open Oliver-Loeffler opened 2 years ago

Oliver-Loeffler commented 2 years ago

With directories containing 100.000s of files memory consumption can be an issue. For ~ 330.000 files on Windows 10 the FileChooserModel requires ~ 80 MiB of memory. On macOS Monterey its ~ 40 Mib for 244.000 files.

As the FileChooser is used on systems where 300.000 files to 900.000 files are listed, reduced memory consumption should help to improve overall application performance.