zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

configure SLH size for ZSS to handle file size greater than 6mb #701

Closed Gautham-coder closed 1 month ago

Gautham-coder commented 2 months ago

Proposed changes

The heap available to the http server is currently capped to around 6MB, because of this there is a limit in the size of the dataset that can be uploaded using ZSS API's. To solve this, we are providing an option in configuration under 'components ->zss ->httpHeapMaxBlocks'. By default it would be 1024 meaning, 64KB 1024, and as of now we have capped the max value of this option to be 4096 meaning, 64kb 4096.

This PR addresses Issue: https://github.com/zowe/zss/issues/698

This PR depends upon the following PRs: https://github.com/zowe/zowe-common-c/pull/447

Type of change

Please delete options that are not relevant.

PR Checklist

Please delete options that are not relevant.

Testing

You can try with uploading a dataset with size greater than 6mb using a python script.

Further comments

zowe-common-c is pointing to the latest changes.