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

Linux: OutOfMemoryError appears during running java on multiprocessor platform

XMLWordPrintable

    • linux-beta
    • x86
    • linux
    • Verified



      Name: iaR10016 Date: 05/10/2000



      JDK version:
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b03)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)

      OS version:
      RedHat Linux 6.1

      Message "OutOfMemoryError" appears occasionaly when running java on the following computer:
          Intel Pentium III Xeon 550MHz(512 Kb) (4 processors) / 256 Mb /
          HDD IBM DNES-309170SCA 9.1 Gb UWSCSI

      This message was appeared 7 from 10 times when the following test example was compiled (note that
      on the single-processor system the compilation passes):

      ------------------- test.java -----------------------------------------

      import java.security.*;

      public class test {
          public static void main(String args[]) {}
      }

      -------------- Output (4-processors system) ---------------------------

      $ javac test.java
      Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 1376256 bytes
      $

      -------------- Output (1-processor system) ----------------------------

      $ javac test.java
      $

      -----------------------------------------------------------------------

      ======================================================================

            hongzh Hong Zhang
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: