According to documentation I should be able to set -Xmx
of an application with the deployer.time.memory
property.
I created the following stream definition:
dataflow:>stream create --name ticktock --definition "time | log"
And I've tried deploying it on my Kubernetes CDF in several ways:
dataflow:>stream deploy --name ticktock --properties "deployer.time.memory=2048m"
dataflow:>stream deploy --name ticktock --properties "deployer.time.local.memory=2048m"
dataflow:>stream deploy --name ticktock --properties "deployer.time.local.javaOpts=2048m"
After each deployment I've run the following commands:
# ps aux | grep time | grep -i xmx
#
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
52a31b764112 springcloudstream/time-source-rabbit:1.2.0.RELEASE "java -jar /maven/tim" 7 minutes ago Up 7 minutes k8s_ticktock-time.a4ab30e_ticktock-time-kqckg_default_53b3e059-5049-11e7-a0d4-000c29df937a_3cc76216
Why isn't -Xmx
set on the time
app?