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

attempt to fix thread mis-killing, which happens with memory monitor. #118

Merged

Conversation

tellmewhattodo
Copy link

I use this sandbox in production, and found it incorrectly killed some execution,and found the reason was on the 'getThreadAllocatedBytes' method.

so I change the count method to avoid this, and this solution works.
it might loose the accuracy of memory limit, the maintainer must consider this, it's a tricky problem.

Copy link
Collaborator

@mxro mxro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@mxro
Copy link
Collaborator

mxro commented Sep 18, 2021

Thank you for this contribution!

@mxro mxro merged commit 73b8a92 into javadelight:master Sep 18, 2021
@mxro
Copy link
Collaborator

mxro commented Sep 18, 2021

Struggeling at the moment to deploy to Maven Central (since Bintray shut down) - should hopefully have sorted that out soon, just waiting for the ticket https://issues.sonatype.org/browse/OSSRH-73369

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

Successfully merging this pull request may close these issues.

2 participants