Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8386

Karaf image: Invalid CICompilerCount with 256mb memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.0
    • fuse-7.0
    • None
    • % %
    • Fuse 7.0 Sprint 27

      When karaf app with this setting:

      cpuRequest=500m
      cpuLimit=500m
      memoryRequest=256Mi
      memoryLimit=256Mi
      

      is deployed then this error occur

      Executing /deployments/karaf/bin/karaf server ...
      CICompilerCount of 1 is invalid; must be at least 2
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

      If memoryRequest and memoryLimit are higher (eg. 512Mi) then it works (-XX:CICompilerCount=2 is set correctly). There must be some condition which with lower memory doesn't set the CICompilerCount to correct value.

            Unassigned Unassigned
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: