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

OOM error at Integer.valueOf() when building a small maven project

XMLWordPrintable

    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      java.lang.OutOfMemoryError: Java heap space
              at java.base/java.lang.Integer.valueOf(Integer.java:1050)
              at java.base/java.time.zone.ZoneRules.findTransitionArray(ZoneRules.java:721)
              at java.base/java.time.zone.ZoneRules.getOffsetInfo(ZoneRules.java:640)
              at java.base/java.time.zone.ZoneRules.getOffset(ZoneRules.java:536)
              at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:122)
              at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1960)
              at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1947)
              at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1334)
              at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:314)
              at jdk.zipfs/jdk.nio.zipfs.ZipPath.getAttributes(ZipPath.java:727)
              at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:293)
              at java.base/java.nio.file.Files.readAttributes(Files.java:1755)
              at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
              at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
              at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373)
              at java.base/java.nio.file.Files.walkFileTree(Files.java:2752)
              at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:523)
              at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
              at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
              at jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:730)
              at jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:674)
              at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:548)
              at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:292)
              at jdk.compiler/com.sun.tools.javac.code.ClassFinder$$Lambda$71/411474203.complete(Unknown Source)
              at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
              at jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1114)
              at jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:811)
              at jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:345)
              at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
              at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:286)
              at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:301)
              at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:576)


      REGRESSION : Last worked in version 11.0.1

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      clean compile
      ACTUAL -
      log delay then out of memory crash / 100% CPU for 10 minutes

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: