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

OutOfMemoryError when compile java files at runtime #595

Open
MrMks opened this issue Aug 15, 2022 · 0 comments
Open

OutOfMemoryError when compile java files at runtime #595

MrMks opened this issue Aug 15, 2022 · 0 comments

Comments

@MrMks
Copy link

MrMks commented Aug 15, 2022

Recently i'm writing a runtime compile mod so then I can add and remove functions on my server dynamically, via JavaCompiler provided by javax.tools.

When I testing the performance of the compiler, it ran into a OutOfMemoryError, which related to a map named instances in AnnotatedMixins.

It seems like a memory leak behavior, so is there any way to resolve this problem?

(English isn't my first language, sentences may looks strange, please just ignore it)

@MrMks MrMks changed the title Memory leak when compile java files at runtime OutOfMemoryError when compile java files at runtime Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant