daml/docs/source/tools
Moritz Kiefer 2049f2ea93
Limit memory usage of scenario service in tests (#5373)
* Limit memory usage of scenario service in tests

Previously the scenario service used over 2GB of memory during
//compiler/damlc/tests:integration-dev for absolutely no reason.

This PR adds an option to pass JVM options when starting the scenario
service and sets them to 200MB for the Shake tests and the damlc
integration tests which seems to be more than sufficient.

These option can also be set in `daml.yaml`. I did not change the
defaults since this is shipped to users where I’d rather have high
memory usage than a crashing scenario service and on certain large
DAML codebases we might actually use a fair bit.

changelog_begin
changelog_end

* Update docs/source/tools/assistant.rst

Co-Authored-By: Samir Talwar <samir.talwar@digitalasset.com>

Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
2020-04-02 14:42:33 +00:00
..
images Adding visual -web command (#3009) 2019-09-27 10:26:20 -04:00
ledger-api-test-tool Make wall clock time the default time mode for sandbox (#5301) 2020-04-01 08:53:16 +02:00
navigator replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
assistant.rst Limit memory usage of scenario service in tests (#5373) 2020-04-02 14:42:33 +00:00
codegen.rst replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
extractor.rst replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
sandbox.rst Make wall clock time the default time mode for sandbox (#5301) 2020-04-01 08:53:16 +02:00
visual.rst replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00