Lucene - Core
  1. Lucene - Core
  2. LUCENE-6693

Permgen errors in 5.x on Jenkins builds with JDK 1.7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Since I updated Groovy and other tools, 5.x builds fail with permgen errors in Jenkins. During the build, Groovy (which is large) is loaded three times and this sums up.

      See Revision: 1692103

      I reverted the Groovy update in 5.x for now. The fix is to make the top-level build.xml also load common-build.xml and resolve groovy before the build starts.

      1. LUCENE-6693.patch
        44 kB
        Uwe Schindler
      2. LUCENE-6693.patch
        36 kB
        Uwe Schindler

        Activity

        Hide
        Uwe Schindler added a comment -

        Patch for 5.x that refactors root's build.xml.

        • Imports now common-build.xml (this removes lots of duplicate properties)
        • Passed down to subants all the predefined stuff like taskdefs
        • Preininitializes heavy stuff for several targets like groovy
        • Pegdown was rewritten a bit to make the filter used a typedef, so it is easier to use without "scriptfilter".

        I have to test all targets, may take a while.

        Show
        Uwe Schindler added a comment - Patch for 5.x that refactors root's build.xml. Imports now common-build.xml (this removes lots of duplicate properties) Passed down to subants all the predefined stuff like taskdefs Preininitializes heavy stuff for several targets like groovy Pegdown was rewritten a bit to make the filter used a typedef, so it is easier to use without "scriptfilter". I have to test all targets, may take a while.
        Hide
        Uwe Schindler added a comment -

        New patch:

        • I fixed some more problems where the "updated" properties were not correctly passed down.
        • I also removed some public targets, so they don't confuse user when calling ant -projecthelp on root level. Unfortunately it still lists the duplicates under "common." but thats the same for all other modules.

        I ran several tasks without problems (including jenkins-hourly).

        Show
        Uwe Schindler added a comment - New patch: I fixed some more problems where the "updated" properties were not correctly passed down. I also removed some public targets, so they don't confuse user when calling ant -projecthelp on root level. Unfortunately it still lists the duplicates under "common." but thats the same for all other modules. I ran several tasks without problems (including jenkins-hourly).
        Hide
        ASF subversion and git services added a comment -

        Commit 1692411 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692411 ]

        LUCENE-6693: Updated Groovy to 2.4.4, Pegdown to 1.5, Svnkit to 1.8.10. Also fixed some PermGen errors while running full build caused by these updates: Tasks are now installed from root's build.xml

        Show
        ASF subversion and git services added a comment - Commit 1692411 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692411 ] LUCENE-6693 : Updated Groovy to 2.4.4, Pegdown to 1.5, Svnkit to 1.8.10. Also fixed some PermGen errors while running full build caused by these updates: Tasks are now installed from root's build.xml
        Hide
        ASF subversion and git services added a comment -

        Commit 1692413 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692413 ]

        Merged revision(s) 1692411 from lucene/dev/branches/branch_5x:
        LUCENE-6693: Updated Groovy to 2.4.4, Pegdown to 1.5, Svnkit to 1.8.10. Also fixed some PermGen errors while running full build caused by these updates: Tasks are now installed from root's build.xml

        Show
        ASF subversion and git services added a comment - Commit 1692413 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692413 ] Merged revision(s) 1692411 from lucene/dev/branches/branch_5x: LUCENE-6693 : Updated Groovy to 2.4.4, Pegdown to 1.5, Svnkit to 1.8.10. Also fixed some PermGen errors while running full build caused by these updates: Tasks are now installed from root's build.xml
        Hide
        ASF subversion and git services added a comment -

        Commit 1692444 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692444 ]

        LUCENE-6693: Add one more parameter-pass-through

        Show
        ASF subversion and git services added a comment - Commit 1692444 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692444 ] LUCENE-6693 : Add one more parameter-pass-through
        Hide
        ASF subversion and git services added a comment -

        Commit 1692445 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692445 ]

        Merged revision(s) 1692444 from lucene/dev/trunk:
        LUCENE-6693: Add one more parameter-pass-through

        Show
        ASF subversion and git services added a comment - Commit 1692445 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692445 ] Merged revision(s) 1692444 from lucene/dev/trunk: LUCENE-6693 : Add one more parameter-pass-through
        Hide
        ASF subversion and git services added a comment -

        Commit 1692472 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692472 ]

        LUCENE-6693: Add one more parameter-pass-through #2

        Show
        ASF subversion and git services added a comment - Commit 1692472 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692472 ] LUCENE-6693 : Add one more parameter-pass-through #2
        Hide
        ASF subversion and git services added a comment -

        Commit 1692473 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692473 ]

        Merged revision(s) 1692472 from lucene/dev/trunk:
        LUCENE-6693: Add one more parameter-pass-through #2

        Show
        ASF subversion and git services added a comment - Commit 1692473 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692473 ] Merged revision(s) 1692472 from lucene/dev/trunk: LUCENE-6693 : Add one more parameter-pass-through #2
        Hide
        ASF subversion and git services added a comment -

        Commit 1692474 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692474 ]

        LUCENE-6693: Add one more parameter-pass-through #3

        Show
        ASF subversion and git services added a comment - Commit 1692474 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692474 ] LUCENE-6693 : Add one more parameter-pass-through #3
        Hide
        ASF subversion and git services added a comment -

        Commit 1692475 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692475 ]

        Merged revision(s) 1692474 from lucene/dev/trunk:
        LUCENE-6693: Add one more parameter-pass-through #3

        Show
        ASF subversion and git services added a comment - Commit 1692475 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692475 ] Merged revision(s) 1692474 from lucene/dev/trunk: LUCENE-6693 : Add one more parameter-pass-through #3
        Hide
        ASF subversion and git services added a comment -

        Commit 1692572 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692572 ]

        LUCENE-6693: Add one more parameter-pass-through #4

        Show
        ASF subversion and git services added a comment - Commit 1692572 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692572 ] LUCENE-6693 : Add one more parameter-pass-through #4
        Hide
        ASF subversion and git services added a comment -

        Commit 1692573 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692573 ]

        Merged revision(s) 1692572 from lucene/dev/trunk:
        LUCENE-6693: Add one more parameter-pass-through #4

        Show
        ASF subversion and git services added a comment - Commit 1692573 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692573 ] Merged revision(s) 1692572 from lucene/dev/trunk: LUCENE-6693 : Add one more parameter-pass-through #4
        Hide
        Uwe Schindler added a comment -

        After analyzing Jenkins build logs, I added few more pass-throughs and early-init of Ant plugins.

        Show
        Uwe Schindler added a comment - After analyzing Jenkins build logs, I added few more pass-throughs and early-init of Ant plugins.
        Hide
        ASF subversion and git services added a comment -

        Commit 1692621 from Uwe Schindler in branch 'dev/trunk'
        [ https://svn.apache.org/r1692621 ]

        LUCENE-6693: Also load clover up front

        Show
        ASF subversion and git services added a comment - Commit 1692621 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1692621 ] LUCENE-6693 : Also load clover up front
        Hide
        ASF subversion and git services added a comment -

        Commit 1692622 from Uwe Schindler in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1692622 ]

        Merged revision(s) 1692621 from lucene/dev/trunk:
        LUCENE-6693: Also load clover up front

        Show
        ASF subversion and git services added a comment - Commit 1692622 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1692622 ] Merged revision(s) 1692621 from lucene/dev/trunk: LUCENE-6693 : Also load clover up front
        Hide
        Shalin Shekhar Mangar added a comment -

        Bulk close for 5.3.0 release

        Show
        Shalin Shekhar Mangar added a comment - Bulk close for 5.3.0 release

          People

          • Assignee:
            Uwe Schindler
            Reporter:
            Uwe Schindler
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development