Supply different JVM options to different runnable in Apache Twill

66 Views Asked by At

In a Twill application lets say I have two types of runnables. One runnable has a 3GB container size and a different runnable has a 6GB container size. Now I want to set different -Xms option for these two runnable types. How do I supply different JVM options to different runnable types?

All I can find is this setJVMOptions function but it supplies the JVM options to all the runnables.

1

There are 1 best solutions below

0
On BEST ANSWER

This not possible in versions 0.11.0 and earlier. This is fixed in trunk and will be in version 0.12.0. See ticket TWILL-241 for details.