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

JSP validation will show requested array size exceeds VM limit error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0 M1, 3.2 M1
    • Fix Version/s: None
    • Component/s: Editors > JSP
    • Labels:
      None

      Description

      in jsp file , if there has many validations for the properties then it will cause out of memory happened.
      eg. if there are more than 100 lines of
      "<portlet:actionURL name="sdsfds" portletMode="sdsds" />"
      While start executing validate function, then eclipse will show error dialog

      java.lang.OutOfMemoryError: Java heap space
      at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(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:2306)
      at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:275)
      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:277)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.searchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:524)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.determinePossibleSubTypes(IndexBasedHierarchyBuilder.java:407)
      at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:121)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:301)
      at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1268)
      at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90)
      at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:789)
      at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:863)
      at org.eclipse.jdt.internal.core.search.HierarchyScope.initialize(HierarchyScope.java:437)
      at org.eclipse.jdt.internal.core.search.HierarchyScope.encloses(HierarchyScope.java:273)
      at org.eclipse.jdt.core.search.SearchPattern.acceptMatch(SearchPattern.java:307)
      at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2321)
      at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:275)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:109)
      at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:65)
      at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:277)
      at org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches(BasicSearchEngine.java:215)
      at org.eclipse.jdt.internal.core.search.BasicSearchEngine.search(BasicSearchEngine.java:516)
      at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:584)
      at com.liferay.ide.xml.search.ui.java.HierarchyTypeClassNameExtractor.doExtractClassNames(HierarchyTypeClassNameExtractor.java:101)

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            simon.jiang Simon Jiang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 31 weeks, 2 days ago

                Packages

                Version Package