目录

Is there a limit on the number of HSPs that can be referenced in a HAP?

Currently, there is no specific limit.

However, because each loaded HSP consumes system resources, having too many HSPs can impact the performance of your application.

If your application requires a large number of HSPs, you are advised to use a single HAP with multiple HARs, and use HSPs in scenarios where dynamic loading is needed.