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

8MB of memory chews up by jdk1.4.2 on solaris

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • 1.4.2
    • hotspot
    • sparc
    • solaris_8

      Our partner Motorola reports the following:
      mototrola 2003-12-03:
      =====================
      >Basically, our Cork development team has decided that
      >because of the overhead of a single JVM on Solaris they (Cork Development)
      >will not be using Java, at this time, to development stand alone client
      >applications. We will be going ahead with our piloting of J2EE development
      >
      >Just so you guys are aware of this, with JDK 1.4.2 on Solaris 8 and 9, a
      >simple program that prints the string "Hello World" to the terminal chews up
      >8MB of physical memory (according to our tests), and it just gets worse from
      >there.. This does not change with either the hotspot or "traditional" JVM.
      >There's a big opportunity here for Sun to make improvements here.
      >

      ###@###.### 2003-12-03:
      ==================================

      This issue can be reproduced using the attached zip file and following:

      $> cd /tmp
      $> unzip prototype.zip
      $> rmiregistry &
      $> export CLASSPATH=/tmp/prototype.jar
      $> java -Djava.rmi.server.codebase=file:///tmp/prototype.jar -Djava.security.policy=server.policy prototype.server.FactoryEngine

      in an other window:
      $> cd /tmp
      $> export CLASSPATH=/tmp/prototype.jar
      $> java -Djava.rmi.server.codebase=file:///tmp/prototype.jar -Djava.security.policy=server.policy prototype.client.launcher

      The client window of the prototype then shall appear.

      Environment:

      $> java -version
      java version "1.2.2"
      Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)

      Motorola's note:
      > I've also run this app on 1.4.2, and have had the same memory problems.


      OS Version:

      $> uname -a
      SunOS somc58 5.8 Generic_108528-13 sun4u sparc SUNW,Netra-T4

            sbohne Steve Bohne (Inactive)
            vperrot Vincent Perrot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: