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

Spring boot extension taking almost 3 gigabytes memory #1058

Open
nickzhums opened this issue Sep 19, 2022 · 4 comments
Open

Spring boot extension taking almost 3 gigabytes memory #1058

nickzhums opened this issue Sep 19, 2022 · 4 comments
Assignees

Comments

@nickzhums
Copy link
Member

One of our dedicated Chinese fan reported this issue to me through WeChat, here are some screenshots he shared:

1663566550724

962646e078c25231166b774d9a6c52a0_

347f5fecade0dd69065d0c0c7447580d_

7b280daecbd03f92b9b44da05f837989_

1663566570817

1663566584445

@nickzhums
Copy link
Member Author

@traceless

@Eskibear
Copy link
Member

From above I can see that there are 4 open vscode windows, each has 3 Java process.

  • org.eclipse.xxx is Java LS provided by vscode-java extension
  • BootLanguageServerBootApp is Spring LS provided by spring tools extension
  • XMLServerLauncher is provided by vscode-xml extension

RAM consumption is far exceeding expectation.

Boot LS is eating RAM, which is strange. I tested locally with spring-petclinic, and BootLS takes ~120MB of RAM. Maybe it's due to project scale. I'm not sure if the "demo" projects are related to https://github.com/Netflix/conductor , and a sample project would be very helpful.

Heap Mem: 30~40M
Non-Heap Mem: ~80M
GC works well.

image

@nickzhums
Copy link
Member Author

He has sent me this project link (directly open from root)

https://github.com/traceless/nio-server

@nickzhums
Copy link
Member Author

1663658583490

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

No branches or pull requests

2 participants