Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3696

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
      None

      Description

      java.lang.OutOfMemoryError: Requested array size exceeds VM limit
      at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(HashtableOfObject.java:38)
      at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java:680)
      at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:201)
      at org.eclipse.jdt.internal.core.index.Index.query(Index.java:143)
      at org.eclipse.jdt.internal.core.search.matching.SuperTypeReferencePattern.queryIn(SuperTypeReferencePattern.java:272)
      at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2388)
      at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:289)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:109)
      at org.eclipse.jdt.internal.core.search.SubTypeSearchJob.search(SubTypeSearchJob.java:44)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:65)
      at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:262)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.legacySearchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:651)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.searchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:489)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.determinePossibleSubTypes(IndexBasedHierarchyBuilder.java:441)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:152)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:319)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1291)
      at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90)
      at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:727)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
      at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:863)
      at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:833)
      at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromModuleProject(PropertiesUtil.java:213)
      at com.liferay.ide.gradle.core.LiferayGradleProject.getDefaultLanguageProperties(LiferayGradleProject.java:97)
      at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromProject(PropertiesUtil.java:355)
      at com.liferay.ide.xml.search.ui.resources.PortletLanguagePropertiesRequestor.accept(PortletLanguagePropertiesRequestor.java:37)
      at org.eclipse.wst.xml.search.core.properties.DefaultPropertiesRequestor.accept(DefaultPropertiesRequestor.java:40)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:63)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)

      Reporter Name:Alex
      Reporter Email:lexmc86@gmail.com
      Bundle: org.eclipse.wst.xml.search.editor 1.0.1.201607202339
      Message: Requested array size exceeds VM limit
      Exception:
      java.lang.OutOfMemoryError: Requested array size exceeds VM limit
      at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.(HashtableOfObject.java:38)
      at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java:663)
      at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:200)
      at org.eclipse.jdt.internal.core.index.Index.query(Index.java:143)
      at org.eclipse.jdt.internal.core.search.matching.SuperTypeReferencePattern.queryIn(SuperTypeReferencePattern.java:272)
      at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2344)
      at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:288)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:109)
      at org.eclipse.jdt.internal.core.search.SubTypeSearchJob.search(SubTypeSearchJob.java:44)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:65)
      at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:262)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.legacySearchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:651)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.searchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:489)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.determinePossibleSubTypes(IndexBasedHierarchyBuilder.java:441)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:152)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:319)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1291)
      at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90)
      at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:790)
      at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:863)
      at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:833)
      at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromModuleProject(PropertiesUtil.java:396)
      at com.liferay.ide.gradle.core.LiferayGradleProject.getDefaultLanguageProperties(LiferayGradleProject.java:190)
      at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromProject(PropertiesUtil.java:548)
      at com.liferay.ide.xml.search.ui.resources.PortletLanguagePropertiesRequestor.accept(PortletLanguagePropertiesRequestor.java:41)
      at org.eclipse.wst.xml.search.core.properties.DefaultPropertiesRequestor.accept(DefaultPropertiesRequestor.java:40)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:63)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
      at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 18 weeks, 6 days ago

                Packages

                Version Package