Nowadays container technology is popular, but the containerized deployment of Java applications may meet a problem related to JVM heap size.