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

OutOfMemoryError is too generic, there should be several with different messages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.1, 1.4.2_12
    • hotspot
    • None
    • gc
    • tiger
    • generic, sparc
    • generic, solaris_8
    • Verified

      We use OutOfMemoryError to signal several different kinds of out of memory conditions which is confusing to customers. We should have preallocated OutOfMemoryErrors for at the least the following states.

      1. General heap full
      2. Perm gen full
      3. Can't create thread

      There may be other cases of this but we should fix these first.

            jcoomes John Coomes (Inactive)
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: