zowe / zss

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

Configure http server's heap size through httpHeapMaxBlocks in yam; #700

Closed Gautham-coder closed 2 months 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:

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

I have updated the deps/zowe-common-c to the latest changes.