-
|
First of all, I would like to thank you for the amazing job developing the SDK and especially for Native Image support. I'm compiling an application with native-image, which uses AWS SDK, S3, SQS, SNS, BedRock. After enabling the build report, I noticed that the .class files are being included in the Image Heap as resources. In my opinion, it does not make much sense since a .class file won't be accessed as a resource. GraalVm Image Heap documentation
I found the source of all of this in sdk-core resource-config.json. There is a directive to include all under software/amazon/awssdk/ I DID NOT TEST IT YET in AWS environment The result is that the Image Heap was reduced by ~35MB. I don't know if that configuration was made on purpose for any reason or if it was a mistake. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I can confirm that the solution is working as expected. I will open a bug referencing this ticket I was using S3, Bedrock, Textract, SNS, SQS and SES services; the reduction was ~35MB |
Beta Was this translation helpful? Give feedback.
I can confirm that the solution is working as expected. I will open a bug referencing this ticket
I was using S3, Bedrock, Textract, SNS, SQS and SES services; the reduction was ~35MB