Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12318

Query.maxResult() ignored during entity loading

    XMLWordPrintable

    Details

      Description

      When a query has a maxResult it should not try to load/collect/read/hidrate all hits but rather restrict it to the requested page size. This causes unnecessary allocations of Strings and byte[]. In particular, the KeyTransformationHandler#stringToKey method produces a large amount of garbage.

        Attachments

          Activity

            People

            Assignee:
            gustavonalle Gustavo Fernandes
            Reporter:
            gustavonalle Gustavo Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: