Skip to content
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

bump large file warning from 1 to 5MB. #4949

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

mbien
Copy link
Member

@mbien mbien commented Nov 9, 2022

as discussed on the dev list, this proposes to bump the large-file warning trigger a little bit.

customizable via the org.openide.text.big.file.size property.

System memory and there also heap sizes grew over time, fixed perm gen became dynamic meta space. This should allow to dare a bit more in that area without showing warnings.

old limit (new is 5MB):
filesize-warning

going to run this with all tests enabled since this could have side effects in tests, given that I found that CSL module hardcoded that value even though it is configurable via a property.

@mbien mbien added Editor Platform [ci] enable platform tests (platform/*) UI User Interface ci:all-tests [ci] enable all tests labels Nov 9, 2022
@mbien mbien added this to the NB17 milestone Nov 9, 2022
@BradWalker
Copy link
Member

BradWalker commented Nov 9, 2022

This is long overdue.. I might have even said bump to 10MB. But, I approve..

@BradWalker BradWalker self-requested a review November 9, 2022 15:39
@mbien mbien force-pushed the defaults-bump-file-size-warn-limit branch from 3276fa2 to 4a0f97c Compare November 9, 2022 16:14
@mbien mbien marked this pull request as ready for review November 10, 2022 17:43
@mbien
Copy link
Member Author

mbien commented Nov 11, 2022

This is long overdue.. I might have even said bump to 10MB. But, I approve..

yeah. I wasn't sure what new limit to pick. Some editors might want the warning a bit lower, e.g a 10MB javascrip file might be too much.

@mbien mbien merged commit be973c8 into apache:master Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:all-tests [ci] enable all tests Editor Platform [ci] enable platform tests (platform/*) UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants