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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 1.4.1, 1.4.2_12
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: