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

CMS: Heap Size and Occupancy before GC #385

Open
AlinaHovakimyan opened this issue Sep 3, 2024 · 2 comments
Open

CMS: Heap Size and Occupancy before GC #385

AlinaHovakimyan opened this issue Sep 3, 2024 · 2 comments

Comments

@AlinaHovakimyan
Copy link
Contributor

Heap size and occupancy before GC are returning heap size and occupancy after GC.

@dsgrieve
Copy link
Member

dsgrieve commented Sep 4, 2024

@AlinaHovakimyan - Which collector are we talking about here? And can you submit a log fragment or whole log.

@AlinaHovakimyan
Copy link
Contributor Author

@dsgrieve the log file used:
cms_gen.log

For example in 22
2024-08-16T15:20:51.002+0400: 34.193: [GC (CMS Initial Mark) [1 CMS-initial-mark: 0K(349568K)] 54146K(506816K), 0.0326151 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]

For this line I was expecting to receive:
heap used before: 0 k
heap size before: 349568 K
heap used after: 54146 K
heap size after: 506816 K

Please let me know, if my expectations were incorrect.

Please see the received event in the screenshot:
Screenshot 2024-09-12 at 14 40 12

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

2 participants