Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6984

memory limit message can sometimes be misleading

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 5.5.2
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Sometimes, the memory limit message is shown, from SystemMonitor, although the JVM has enough free heap memory.

      This is, because Runtime.getRuntime().freeMemory() can't guarantee to return the right value. (Before the Java GC runs, there may be not enough "freeMemory")

      See http://stackoverflow.com/questions/3571203/what-are-runtime-getruntime-totalmemory-and-freememory

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rgange Richard Gange
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: