Hang after OutOfMemory exception and large number of threads

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: core-libs
    • x86
    • windows_xp

      The situation that leads to the hang:
      Main thread creates the large number of threads till the creation throws OutOfMemory exception (7125 threads in my example). After the threads are started they stay on wait() on the same Object.
      If OutOfMemory exception is not cought, the java launcher hangs, it can not be stopped by Ctrl-C.
      Note:
      If the main thread stay on wait(), the launcher can be stoppped by Ctrl-C.
      If the main thread is exited correctly or by another exception, it is terminated without problems.

      ###@###.### 2005-06-08 15:29:21 GMT

            Assignee:
            Unassigned
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: