I have a 17MB JAR file that is making the bundle large. Are there any restrictions on Bundle Size ? Is it configurable in OPDK ? What's the limit on CLOUD ?
~~ Q : Source : Slack ~~
Solved! Go to Solution.
Yes the API Proxy bundle size cannot exceed more than 15 MB. It can be configured in the Private Cloud.
Please refer to the below links for more details:
Regards,
Amar
Yes the API Proxy bundle size cannot exceed more than 15 MB. It can be configured in the Private Cloud.
Please refer to the below links for more details:
Regards,
Amar
Thank you @AMAR DEVEGOWDA , It's helpful.
Let me add to the excellent points from @AMAR DEVEGOWDA. Generally, one exceeds the limit when developing Java Callouts (the other use case is with node.js). I have found that loading the JARs into the ENV level helps reduce the size of the proxy and also improves UI performance.
@Srinandan Sridhar , How can we load JARs directly into ENV & reference same in Proxy ? Is it available on Cloud too ?
Management APIs are available to upload any of the resources at Env as well as the Org level. This also help to avoid duplication.