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

Query.maxResult() ignored during entity loading

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 12.0.0.Final
    • 12.0.0.Final
    • Embedded Querying
    • None

      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.

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: