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

Getting error on Ubuntu 20 - /usr/bin/addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0) Dropping nodes with <= 10884164 B; edges with <= 2176832 abs(B) #2602

Open
hbtiamits opened this issue Feb 2, 2024 · 1 comment

Comments

@hbtiamits
Copy link

hbtiamits commented Feb 2, 2024

In my application, the RES memory is getting multi-fold to what has been assigned as Xmx and hence after trying to find out many options, we got to know about this utility, but this utility is not executing successfully.

After generating the jeprof..heap files, when I am trying to execute the following command to generate the image, I am getting error.
Command executed - jeprof --show_bytes --gif /home/cavisson/apps/amazon-corretto-8.382.05.1-linux-x64/bin/java jeprof
.heap > /tmp/app-profiling.gif

Error -
/usr/bin/addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
Dropping nodes with <= 10884164 B; edges with <= 2176832 abs(B)
Can't exec "dot": No such file or directory at /usr/bin/jeprof line 2081.
| dot -Tgif: No such file or directory
If you want to investigate this profile further, you can do:

jeprof
/home/cavisson/apps/amazon-corretto-8.382.05.1-linux-x64/bin/java
jeprof.3631178.1.i1.heap
jeprof.3631178.0.i0.heap
jeprof.3631067.197.i197.heap
jeprof.3627644.157.i157.heap
jeprof.3626127.146.i146.heap \

==================
But on running the suggested command also getting the same error...
Any help would be highly appreciated

@hbtiamits
Copy link
Author

hbtiamits commented Feb 2, 2024

I tried the above command with 1MB memory increase using the below command, instead of the recommended 1GB -
export MALLOC_CONF=prof:true,lg_prof_interval:20,lg_prof_sample:17

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
@hbtiamits and others