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

Fix MEMPROFILE #55236

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Fix MEMPROFILE #55236

merged 1 commit into from
Jul 26, 2024

Conversation

d-netto
Copy link
Member

@d-netto d-netto commented Jul 24, 2024

Should fix #46724.

Example output:

   8 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  16 :    1857/ 725307 objects ( 89% old),   709 pages,    29 kB, 11340 kB waste
  24 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  32 :   55025/ 922866 objects ( 96% old),  1806 pages,  1719 kB, 28841 kB waste
  40 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  48 :   31668/ 199826 objects ( 97% old),   586 pages,  1484 kB,  9338 kB waste
  56 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  64 :   32767/ 118320 objects ( 94% old),   464 pages,  2047 kB,  7311 kB waste
  72 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  80 :   13711/  19584 objects ( 95% old),    96 pages,  1071 kB,  1486 kB waste
  88 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  96 :    4893/   8500 objects ( 95% old),    50 pages,   458 kB,   781 kB waste
 104 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 112 :    3513/   6132 objects ( 99% old),    42 pages,   384 kB,   670 kB waste
 120 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 128 :    3890/   4572 objects ( 90% old),    36 pages,   486 kB,   532 kB waste
 136 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 144 :     387/  12656 objects ( 94% old),   112 pages,    54 kB,  1789 kB waste
 160 :     553/   1836 objects ( 96% old),    18 pages,    86 kB,   284 kB waste
 176 :     463/   1395 objects ( 99% old),    15 pages,    79 kB,   239 kB waste
 192 :     170/    765 objects ( 96% old),     9 pages,    31 kB,   142 kB waste
 208 :     137/    468 objects ( 82% old),     6 pages,    27 kB,    91 kB waste
 224 :    6180/   6497 objects ( 99% old),    89 pages,  1351 kB,  1423 kB waste
 240 :      93/    544 objects (100% old),     8 pages,    21 kB,   128 kB waste
 256 :     310/    693 objects ( 98% old),    11 pages,    77 kB,   175 kB waste
 272 :     196/    360 objects ( 91% old),     6 pages,    52 kB,    91 kB waste
 288 :     817/   1120 objects ( 92% old),    20 pages,   229 kB,   301 kB waste
 304 :      67/    265 objects (100% old),     5 pages,    19 kB,    80 kB waste
 336 :     133/    480 objects ( 99% old),    10 pages,    43 kB,   159 kB waste
 368 :     238/    572 objects ( 97% old),    13 pages,    85 kB,   205 kB waste
 400 :      91/    360 objects (100% old),     9 pages,    35 kB,   144 kB waste
 448 :     127/    432 objects ( 96% old),    12 pages,    55 kB,   189 kB waste
 496 :     110/    330 objects ( 99% old),    10 pages,    53 kB,   159 kB waste
 544 :     150/    330 objects ( 98% old),    11 pages,    79 kB,   174 kB waste
 576 :      45/    168 objects (100% old),     6 pages,    25 kB,    96 kB waste
 624 :      61/    182 objects (100% old),     7 pages,    37 kB,   112 kB waste
 672 :      49/    144 objects (100% old),     6 pages,    32 kB,    96 kB waste
 736 :      63/    198 objects ( 93% old),     9 pages,    45 kB,   141 kB waste
 816 :      63/    180 objects ( 98% old),     9 pages,    50 kB,   143 kB waste
 896 :      61/    126 objects (100% old),     7 pages,    53 kB,   112 kB waste
1008 :      59/    128 objects ( 89% old),     8 pages,    58 kB,   122 kB waste
1088 :      67/    120 objects ( 91% old),     8 pages,    71 kB,   121 kB waste
1168 :      22/     70 objects (100% old),     5 pages,    25 kB,    80 kB waste
1248 :      23/     78 objects (100% old),     6 pages,    28 kB,    96 kB waste
1360 :      36/     72 objects ( 97% old),     6 pages,    47 kB,    94 kB waste
1488 :      27/     66 objects (100% old),     6 pages,    39 kB,    96 kB waste
1632 :      22/     50 objects (100% old),     5 pages,    35 kB,    80 kB waste
1808 :      18/     54 objects (100% old),     6 pages,    31 kB,    96 kB waste
2032 :      26/     72 objects (100% old),     9 pages,    51 kB,   144 kB waste
772 kB (82% old) in 167 large objects (82% old)

@d-netto d-netto added the GC Garbage collector label Jul 24, 2024
@d-netto d-netto force-pushed the dcn-memprofile branch 5 times, most recently from 519075e to 3c8f309 Compare July 25, 2024 18:42
@d-netto d-netto merged commit a07031a into master Jul 26, 2024
5 of 7 checks passed
@d-netto d-netto deleted the dcn-memprofile branch July 26, 2024 13:25
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Aug 17, 2024
Should fix JuliaLang#46724.

Example output:

```
   8 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  16 :    1857/ 725307 objects ( 89% old),   709 pages,    29 kB, 11340 kB waste
  24 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  32 :   55025/ 922866 objects ( 96% old),  1806 pages,  1719 kB, 28841 kB waste
  40 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  48 :   31668/ 199826 objects ( 97% old),   586 pages,  1484 kB,  9338 kB waste
  56 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  64 :   32767/ 118320 objects ( 94% old),   464 pages,  2047 kB,  7311 kB waste
  72 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  80 :   13711/  19584 objects ( 95% old),    96 pages,  1071 kB,  1486 kB waste
  88 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
  96 :    4893/   8500 objects ( 95% old),    50 pages,   458 kB,   781 kB waste
 104 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 112 :    3513/   6132 objects ( 99% old),    42 pages,   384 kB,   670 kB waste
 120 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 128 :    3890/   4572 objects ( 90% old),    36 pages,   486 kB,   532 kB waste
 136 :       0/      0 objects (  0% old),     0 pages,     0 kB,     0 kB waste
 144 :     387/  12656 objects ( 94% old),   112 pages,    54 kB,  1789 kB waste
 160 :     553/   1836 objects ( 96% old),    18 pages,    86 kB,   284 kB waste
 176 :     463/   1395 objects ( 99% old),    15 pages,    79 kB,   239 kB waste
 192 :     170/    765 objects ( 96% old),     9 pages,    31 kB,   142 kB waste
 208 :     137/    468 objects ( 82% old),     6 pages,    27 kB,    91 kB waste
 224 :    6180/   6497 objects ( 99% old),    89 pages,  1351 kB,  1423 kB waste
 240 :      93/    544 objects (100% old),     8 pages,    21 kB,   128 kB waste
 256 :     310/    693 objects ( 98% old),    11 pages,    77 kB,   175 kB waste
 272 :     196/    360 objects ( 91% old),     6 pages,    52 kB,    91 kB waste
 288 :     817/   1120 objects ( 92% old),    20 pages,   229 kB,   301 kB waste
 304 :      67/    265 objects (100% old),     5 pages,    19 kB,    80 kB waste
 336 :     133/    480 objects ( 99% old),    10 pages,    43 kB,   159 kB waste
 368 :     238/    572 objects ( 97% old),    13 pages,    85 kB,   205 kB waste
 400 :      91/    360 objects (100% old),     9 pages,    35 kB,   144 kB waste
 448 :     127/    432 objects ( 96% old),    12 pages,    55 kB,   189 kB waste
 496 :     110/    330 objects ( 99% old),    10 pages,    53 kB,   159 kB waste
 544 :     150/    330 objects ( 98% old),    11 pages,    79 kB,   174 kB waste
 576 :      45/    168 objects (100% old),     6 pages,    25 kB,    96 kB waste
 624 :      61/    182 objects (100% old),     7 pages,    37 kB,   112 kB waste
 672 :      49/    144 objects (100% old),     6 pages,    32 kB,    96 kB waste
 736 :      63/    198 objects ( 93% old),     9 pages,    45 kB,   141 kB waste
 816 :      63/    180 objects ( 98% old),     9 pages,    50 kB,   143 kB waste
 896 :      61/    126 objects (100% old),     7 pages,    53 kB,   112 kB waste
1008 :      59/    128 objects ( 89% old),     8 pages,    58 kB,   122 kB waste
1088 :      67/    120 objects ( 91% old),     8 pages,    71 kB,   121 kB waste
1168 :      22/     70 objects (100% old),     5 pages,    25 kB,    80 kB waste
1248 :      23/     78 objects (100% old),     6 pages,    28 kB,    96 kB waste
1360 :      36/     72 objects ( 97% old),     6 pages,    47 kB,    94 kB waste
1488 :      27/     66 objects (100% old),     6 pages,    39 kB,    96 kB waste
1632 :      22/     50 objects (100% old),     5 pages,    35 kB,    80 kB waste
1808 :      18/     54 objects (100% old),     6 pages,    31 kB,    96 kB waste
2032 :      26/     72 objects (100% old),     9 pages,    51 kB,   144 kB waste
772 kB (82% old) in 167 large objects (82% old)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MEMPROFILE could be more useful.
1 participant