Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1594

Specify JVM memory based on pod limit

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.12.0.Final
    • 0.8.1
    • Image
    • None

      The maximum default heap size for Java is 1/4 of available memory in container [1]. It means that if user specify pod limit to 1Gi then Kogito application can use up to 256 MB.

      We should increase the default memory ratio to reduce memory waste. Also we should allow users to specify memory by themselves, possibly also other Java arguments.

      [1] https://docs.oracle.com/en/java/javase/11/gctuning/parallel-collector1.html#GUID-74BE3BC9-C7ED-4AF8-A202-793255C864C4

              rhn-support-fspolti Filippe Spolti
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: