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

LinkedHashSet serious memory leak on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • hotspot
    • x86
    • windows_2000


      ###@###.### 2002-08-13

      J2SE Version (please include all output from java -version flag):
       java version "1.4.1-beta"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b18)
       Java HotSpot(TM) Client VM (build 1.4.1-beta-b18, mixed mode)

      Does this problem occur on J2SE 1.3 or 1.4?
      In 1.4.01

      Operating System Configuration Information (be specific):
       Windows 2000 Proffesional, Service Pack 2, Czech locale

      Hardware Configuration Information (be specific):
       IBM Thinkpad A21m, 320MB RAM

      Bug Description:
       Few moments after program startup client VM begins
       to allocate massive amounts of memory which leads
       to total exhausting of system virtual memory.

      Note:
       Problem can be switched on/off in the file GraphOfDependencies.java:
       If LinkedHashMap is instantiated in constructor, all is OK. If on
       line 87, bug appears.

      Steps to Reproduce (be specific):

      >javac GraphOfDependencies*.java TestGOD2.java
      >java TestGOD2.java

      Erro dialog box popup: "Your system is low on virtual memory...."

      Uncomment LinkedHashMap(line 87), exhausting of system virtual memory not happen.

            kbr Kenneth Russell (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: