You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I can't get a clear overview of which resources are included in the image. The only thing I can see is a huge amout of byte arrays in the heap dump, which I assume are stored resources but that doesn't tell me anything.
Describe the solution you'd like.
Add a -H:+DashboardResources option, which adds a section to the dashboard dump like this:
Which is similar to the current layout for code/heap size dumps.
Describe who do you think will benefit the most.
GraalVM users, developers of libraries and frameworks which depend on GraalVM.
Basically anyone who is concerned about size and wants to avoid any extra resources that may be included by config of dependencies etc.
Describe alternatives you've considered.
I can include an extra snippet in the image that dumps out all resource locations. Which should be possible now that resources are a filesystem in itself. But then I need a modified image.
Additional context.
I cannot help with the visualisation in the dashboard website. But I would suggest a tree-view folder structure (which would also make sense for the code size view, but that's a different issue).
I have made a quick & dirty implementation of such a visualisation for the code size dump already, as a poc:
Express whether you'd like to help contributing this feature
I can help with the implementation of the dump, but obviously there needs to be a consensus on the format first.
The text was updated successfully, but these errors were encountered:
Thanks for the suggestions! We're looking into tooling improvements for GraalVM Native Image and displaying information on included/embedded resources is an important aspect. At the moment, you can log all resources via -H:Log=registerResource: (see here) and the build output has also been extended with the number and bytes of embedded resources (see 5e652cd).
We now have an option to export a list of all embedded resources in the JSON format. Oracle GraalVM's build reports will also include a resources overview table.
Feature request
Please include the following information:
Is your feature request related to a problem? Please describe.
I can't get a clear overview of which resources are included in the image. The only thing I can see is a huge amout of byte arrays in the heap dump, which I assume are stored resources but that doesn't tell me anything.
Describe the solution you'd like.
Add a
-H:+DashboardResources
option, which adds a section to the dashboard dump like this:Which is similar to the current layout for code/heap size dumps.
Describe who do you think will benefit the most.
GraalVM users, developers of libraries and frameworks which depend on GraalVM.
Basically anyone who is concerned about size and wants to avoid any extra resources that may be included by config of dependencies etc.
Describe alternatives you've considered.
I can include an extra snippet in the image that dumps out all resource locations. Which should be possible now that resources are a filesystem in itself. But then I need a modified image.
Additional context.
I cannot help with the visualisation in the dashboard website. But I would suggest a tree-view folder structure (which would also make sense for the code size view, but that's a different issue).
I have made a quick & dirty implementation of such a visualisation for the code size dump already, as a poc:

Express whether you'd like to help contributing this feature
I can help with the implementation of the dump, but obviously there needs to be a consensus on the format first.
The text was updated successfully, but these errors were encountered: