-
Notifications
You must be signed in to change notification settings - Fork 11
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
What's wrong with the Objeck VM? #462
Comments
The virtual machine has a certain amount of free memory, but a portion of that memory is pooled for reuse. Whenever a garbage collection (GC) cycle starts, the runtime checks whether the memory usage is increasing or decreasing. If the memory usage is decreasing, the system releases unused memory. If the usage is increasing, the system may put the memory in cache or release it. |
If want to send a code example, I'll look at it. The process used for memory stress testing utilizes the CLBG binary tree algorithm. |
@iahung2 Thank you, there was a bug! I initially thought it was related to memory swapping; however, it turned out to be a deadlock condition that I believe was introduced when I "fixed" an SA finding. Also, I am creating Docker images that will be published between builds. |
See #482 |
I spent hours watching Windows Task Manager. I found that the Objeck VM never gives back memory. It will only allocate more and more memory. The JVM, on the other hand, does give back memory and allocate more when needed.
The text was updated successfully, but these errors were encountered: