mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
`FileUtilRt.LARGE_FOR_CONTENT_LOADING` was used in 2 roles: as just 'big file, load with caution', and also 'do not cache file content in VFS' -- but those roles are quite different really, and should not be mixed => - `PersistentFSConstants.MAX_FILE_LENGTH_TO_CACHE` is now the limit for VFS caching: default value 1Mb, `-Didea.vfs.max-file-length-to-cache=...` to override - `FileUtilRt.LARGE_FOR_CONTENT_LOADING` is still used for everything else (cherry picked from commit f7642bf36cba9984f5a6438c88fcecbe769335a8) (cherry picked from commit 77ef2bc348054154fba9b612f75bcc41ac880f64) IJ-CR-150186 GitOrigin-RevId: e8a95f377142a793f171d5ba055ab54dc9bc3d6c