I would like the ao dev-cli to automatically set the Memory-Limit flag when using the ao publish command. The Memory-Limit should be automatically determined based on the module's memory requirements, ensuring optimal performance and resource allocation during publishing.
Proposed Solution
Modify the ao publish command to calculate the appropriate Memory-Limit based on the module’s memory requirements.
Automatically apply the calculated Memory-Limit flag during the publish process.
Benefits
Ensures that published modules are allocated appropriate memory resources based on their specific needs.
Reduces the likelihood of memory over-allocation or under-allocation, leading to more efficient resource usage.
Simplifies the deployment process by automating memory configuration based on actual module requirements.
Acceptance Criteria
The ao publish command calculates and applies the Memory-Limit flag based on the module's memory requirements..
Documentation is updated to reflect the automatic Memory-Limit determination and its benefits.
Description
I would like the
ao dev-cli
to automatically set theMemory-Limit
flag when using theao publish
command. TheMemory-Limit
should be automatically determined based on the module's memory requirements, ensuring optimal performance and resource allocation during publishing.Proposed Solution
ao publish
command to calculate the appropriateMemory-Limit
based on the module’s memory requirements.Memory-Limit
flag during the publish process.Benefits
Acceptance Criteria
ao publish
command calculates and applies theMemory-Limit
flag based on the module's memory requirements..Memory-Limit
determination and its benefits.