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

Remove unecessary LocalizationImplTest taking up inordinate amounts of heap space

    Details

      Description

      LocalizationImplTest contained test testLongTranslationText when generates a 20000000+ character long string, taking up an excessive amount of memory. This test was added in response to LPS-12996 and is designed to test the functioning of XMLStreamReader.getText(), which at the time was thought to fail when extremely large text blocks were being read.

      Code now does not use getText() directly, but instead calls it through the wrapper of getElementText(). Neither of these functions are liferay code, nor can they be shown to fail on any reasonable size (tested up to 380000000 characters) of string. Because of this and in the interest of reducing test memory usage, this test had been removed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              miguel.pastor Miguel Ángel Pastor Olivar (Inactive)
              Reporter:
              william.newbury William Newbury
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.0.0 M7