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

Too long PortletPreferences XML can cause OutOfMemoryError

    Details

      Description

      In PortalPreferencesFactoryImpl we use the XML data as the cache key in the cache. In some cases, where for example, there are lots of pages (500+) with Staging and Page Versioning enabled, some portlet preferences could occupy 1MB or more as XML String.

      Based on this, in some cases java.lang.OutOfMemoryError can occur while the cache is not full, but there's not enough free memory for the JVM.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 34 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M5