Increase jvm on container in AWS ECS

I’ve tried using JAVA_OPTS_KC_HEAP to set the heap usage in my AWS ECS Fargate deploy of KC 22. It doesnt seem to be working, and it says 512 is being used regardless.

Is there something about running this in ECS maybe thats causing problems, or am i missing something in documentation?

It’s strange, I haven’t tried it in Fargate, but JAVA_OPTS_KC_HEAP should work. You can also try with JAVA_OPTS_APPEND.

I guess, JAVA_OPTS_KC_HEAP was introduced with KC24, that’s why it’s not working in KC22…!?

that would do it every time!