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

jvm grows in memory and lwps until OutOfMemoryError after calling Runtime.exec()

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      A Developer.com ISV provides a simple Java application which calls
      Runtime.getRuntime().exec() and forks new jvms. Each jvm instantiates a fixed
      number of work threads that eat CPU and stress test jvm and OS. I/O associated
      with each java.lang.Process is attached to java.io.InputStream/OutputStream
      reference. On other platforms such as Solaris 2.6, Linux, Win32, HPUX,
      the jvms appear stable and run continously. However, on Solaris 7/8, the
      forked jvms exhibit growth (top/prstat) in resident and total memory used,
      plus rapid growth in associated lwps. The growth continues unabated for
      several minutes until the jvms throw OutOfMemoryErrors at around 80MBs
      total memory size each and several hundred threads each.


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ysr Y. Ramakrishna
                Reporter:
                jcliu James Liu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: