-
Notifications
You must be signed in to change notification settings - Fork 5
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
Memory consumption has gone up #19
Comments
Could be related with mmtk/mmtk-core#689. But that should only affect mark sweep. |
Yes. That's the cause. PR #689 changed the way MMTk core accounts memory usage when using the malloc-based MarkSweep plan. Now if With the current
When I reverted that commit in I suggest simply increase the (nominated) heap size. It has always been occupying more than 1MiB of spaces anyway. |
Just to be clear, accounting for memory at a page granularity is correct, accounting per object is not sound, and its introduction was a bug (ie mmtk/mmtk-core#689 was a bug fix). This is because our underlying resources are pages. If we have two 8-byte objects each on a separate page, we have consumed two underlying pages. Saying that we consumed 16-bytes is unhelpful and misleading. As Yi said, only the mark-sweep collector was affected by the bug. |
Used to be plenty to run this simple program - no longer is, and the process now seems to just hang.
The text was updated successfully, but these errors were encountered: