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
[GR-53929] How to create and load SVM auxiliary image? #8767
Comments
Hi @JiangWork, Thank you for reaching out to us! |
Hi, @selhagani Thanks for replying. I have already checked this doc. It uses JS framework, and underlying how to create the image is still black box. I am working on Java project. |
Hi @JiangWork, This is an EE-only feature. Mind that the auxiliary images must be created at image runtime and are compatible only with the same primary native-image that they were created with. |
Thanks, @selhagani Where can i found the code? |
Unfortunately, I'm unable to share the code with you as it's an EE-only feature. However, I understand the importance of this information for your needs. I'll make sure to relay your request to our team to develop documentation for this particular use case. Rest assured, I'll keep you informed about any updates regarding this matter. |
Hi, All.
From the link , it says:
This is exactly what i want, I want to load different the auxiliary images when creating different Isolates. I know we can put required data in image heap when building the image. But in my case, the data is large than 2GB and each isolate needs a small portion of the data. I found the API exists:
https://github.com/oracle/graal/blob/master/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/Isolates.java#L124
If i persist the data into image heap, it will resulting following exception:
My question is, is there any guide to instruct me to create such auxiliary images and load them?
The text was updated successfully, but these errors were encountered: