Command line options for headless BehaviorSpace

For trying the new BehaviorSpace features (error behavior, memory limit), I wanted to use them in headless BehaviorSpace. However, I could not find documentation for these new features.

From the scala code (multiple classes), I figured out that for error behavior there is an option --error-behavior with values ignore, abortRun, and abortExperiment. Is abortRun default?
As far as I could find, this option works.

For the memory limit, I could not find a corresponding command line option. At least --memory-limit is not valid.

So, it seems the documentation is not yet up-to-date. And I would expect a command line option corresponding to the memory limit in the run dialog.

OK, now I realize that setting the memory limit by a command line option of a Java/Scala program would not work. It should be a JVM option to be effective before the program itself starts.

So, an option --memory-limit to the headless version would be useless.

Could you add the correct JVM command line option to the documentation, please?

Hi Mark,

I added an explanation of the --error-behavior option to the BehaviorSpace CLI docs. Changing the memory limit from the command line is already documented, see this section. If anything there is outdated or no longer works as expected, let us know and we’ll update it accordingly.

Isaac B.