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

Add memory limitation for native builds of Kogito examples

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 0.11.0
    • 0.7.1
    • Operator
    • None
    • 2020 Week 16-18 (from Apr 13)

      Native build of current examples is not limited so far. The result is that pod with native build is able to consume up to 10GB of memory.
      Recent experiments showed that it is possible to limit memory consumed by JVM generating native binary, which will limit the pod memory consumption too. The limit can be applied by setting

      quarkus.native.native-image-xmx
      

      property into application.properties, defining Xmx value for build JVM.

      Purpose of this task is to add this Xmx limitation for all examples which can be built using native build. That way we can improve user experience and lower memory requirements for these examples.

            jcarvaja@redhat.com Jose Carvajal Hilario
            ksuta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: