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

Regarding performance issues #3765

Open
Carson-yy opened this issue Sep 14, 2024 · 2 comments
Open

Regarding performance issues #3765

Carson-yy opened this issue Sep 14, 2024 · 2 comments
Labels

Comments

@Carson-yy
Copy link

When I open many project files, probably thousands of Java files, and some of them are very long, up to more than 20,000 lines, the response speed of syntax prompts, parsing, and other functions is very slow.

Are there any ways to improve it?

I tried to increase both -Xmx and -Xms, setting -Xmx to 8G, but it didn't improve the situation.

@rgrunber
Copy link
Member

Do you mean you have thousands of opened files ? All of them in separate tabs ? Does the situation improve if you only have one large file opened at any given time ?

Do you have any example projects you could share to demonstrate this ?

@Carson-yy
Copy link
Author

Do you mean you have thousands of opened files ? All of them in separate tabs ? Does the situation improve if you only have one large file opened at any given time ?

Do you have any example projects you could share to demonstrate this ?

Sorry, this project is private and cannot be made public. It's not a matter of opening thousands of Java files at once; in reality, only 5-6 Java files are opened, but each file contains a large number of lines—some have over 20,000 lines, while others have around 2,000 lines. After working for a while, the response speed of features like intelligent suggestions becomes very slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants