Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-56314

At JournalArticleIndexer.doReindexDDMStructures we should use a paginated ActionableDynamicQuery to retrieve all JournalArticles to avoid memory issues

    Details

      Description

      At JournalArticleIndexer.doReindexDDMStructures we are retrieving all JournalArticles for one DDMStructure using JournalArticleLocalServiceUtil.getIndexableArticlesByDDMStructureKey(ddmStructureKeys), this causes some memory issues for customers with large quantity of created JournalArticles for one Structure.

      We should execute a paginated query using ActionableDynamicQuery to avoid the heap memory problems.

      This issue is similar to LPS-53471, see that issue (LPS related to staging process), now we must change it at JournalArticleIndexer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Jose Jimenez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M7