Handling APIs of larger size
If you want to create an API file of a large size (for example, files as big as 120 MB), perform the following steps:
- Navigate to Administration > General >
Extended settings and set the following values:
Property Value watt.serve.tspace.location opt/softwareag/tmp watt.server.tspace.max 2000000000 watt.server.tspace/timeToLive 300000 - Modify the Java memory settings in the configuration file located at
SAGInstallDir/profiles/IS_default/configuration/custom_wrapper.conf
and set the following values:
Property Value wrapper.java.initmemory 3072 wrapper.java.maxmemory 3072 - Open <Elastic_Dir>/config/elasticsearch.yml and set the
following value:
Property Value http.max_content_length 300MB - Open
SAGInstallDir/IntegrationServer/instances/default/packages/WmAPIGateway/config/resources/elasticsearch/config.properties
and set the following value:
Property Value pg.gateway.elasticsearch.client.http.response.size 300MB - Open <Elastic_Dir>/config/jvm.options and set
Xms4g to the following settings:
- Initial heap size.
- Maximum heap size.
- Restart webMethods API Gateway and external Elasticsearch.
This memory, temporary storage, and content length settings are configured to accommodate larger APIs.
Value |
---|