I am trying to load very big heap dump ~ 200g. My machine has 600g. But I am getting error that I am breaching a limit of 2,147,483,639 objects.
Is there a way to bypass this issue. For example MAT allows discard of some objects?
Exceeding 2,147,483,639 limit
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Exceeding 2,147,483,639 limit
1) Which exact version of YourKit Profiler are you using?
2) You can limit the number of objects by setting the "yk.object.count.limit" property, which can be specified in the ~/.yjp/ui.ini file.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
2) You can limit the number of objects by setting the "yk.object.count.limit" property, which can be specified in the ~/.yjp/ui.ini file.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Thu Jun 06, 2024 3:53 am
Re: Exceeding 2,147,483,639 limit
I use 2024.3-b152.
How big yk.object.count.limit can be? If I set it to 100, will it just randomly sample 100 objects?
Could you share documentation link for yk.object.count.limit?
How big yk.object.count.limit can be? If I set it to 100, will it just randomly sample 100 objects?
Could you share documentation link for yk.object.count.limit?
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Exceeding 2,147,483,639 limit
The max number of objects that profiler reads from a snapshot. Keep it less than Java max integer.How big yk.object.count.limit can be? If I set it to 100, will it just randomly sample 100 objects?
This is undocumented option (only for troubleshooting).Could you share documentation link for yk.object.count.limit?
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Thu Jun 06, 2024 3:53 am
Re: Exceeding 2,147,483,639 limit
So what happens if dump has more objects then specified in yk.object.count.limit? Will objects be sampled or simply trimmed?
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Exceeding 2,147,483,639 limit
The term 'limit' refers to a threshold. When this threshold is reached, the profiler stops reading the heap dump.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"