Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1184426

Misleading out-of-memory message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 0.9
    • 0.9
    • hotspot
    • 0.9internal
    • sparc
    • generic
    • Not verified

      When signalling an error we try to allocate an object. If that fails (presumably
      because we are out of space) we print a message **TOTALLY OUT OF MEMORY**.
      That is misleading because we are not totally out of memory, just out of heap.
      The user has the option of restarting with a bigger heap and trying again.

      [Addendum] There is a related misleading message in gc.c, where we say we are
      out of memory when we are just out of heap. The equivalent fix is indicated.

            busersunw Btplusnull User (Inactive)
            tlindholsunw Timothy Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: