Skip to main content

All Questions

Tagged with
0 votes
0 answers
716 views

How to create the JVM option for XX\:OnOutOfMemoryError using payara server docker POSTBOOT_COMMANDS

Issue I'm trying to add the jvm option for XX\:OnOutOfMemoryError so the value is shown in double quotes, like so: -XX:OnOutOfMemoryError="kill -9 %p" but when I come to list-jvm-options it ...
WhatTheWhat's user avatar
0 votes
1 answer
1k views

Kill the docker container if the JVM processes running inside dies [closed]

I am new to Docker, and I was trying out a particular scenario for which I do not find any solution online or on forums. The detail on my setup is such that, I am using Docker 17.12 on Linux with a ...
Pulkit Mundra's user avatar
10 votes
1 answer
16k views

Specifying JVM Options in docker-compose File

Currently I am trying to pass JVM options to my docker-compose.yml file. And this JVM_OPTS part in 'environment:' doesn't seem to be working. Is there another way to pass JVM options to docker-compose....
Ahmet Yasin Türkyılmaz's user avatar
2 votes
3 answers
9k views

Docker - Java container doesn't respect memory limits

I've been reading multiple posts regarding limiting the container's JVM memory, nothing has worked so far, I don't know where I am messing up. I made a simple "Hello World" in Spring Boot, using a ...
Jsh0s's user avatar
  • 599
0 votes
0 answers
192 views

Does OpenJDK Hotspot JVM utilise ergonomics to determine number of housekeeping threads (respect docker pids limits)

I may be framing the title of this question entirely incorrectly, so perhaps it's better to start from observed behaviour. I've set a PIDs limit using docker-compose of 120 PIDS for a java based ...
David's user avatar
  • 8,166
15 votes
3 answers
45k views

Passing JAVA_OPTS to spring boot application through docker-compose

I am creating a docker image using below configuration. Once image is ready i want to pass JAVA_OPTS to my docker container, so it can be passed to my spring boot application. Whenever i try to bring ...
user2701108's user avatar
2 votes
2 answers
2k views

Docker jetty container JVM memory allocation

I am new to using Docker and have written a compose file for my application. It utilizes jetty and MySQL DB. I configured JVM memory for Jetty via JAVA_OPTS in the environment parameter. I thought ...
Gnana's user avatar
  • 2,230