Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of goatherd:

      Url: https://github.com/doctrine/doctrine2/pull/955

      Message:

      > instead of loading the whole result into memory at once

      is not the full truth.

      There is a certain risk of processes getting killed due to memory allocation with large iteration. This is caused by result buffering of the client. It is not always being visible to PHP as http://www.php.net/manual/en/mysqlinfo.concepts.buffering.php suggests.

      This is only a proposal for discussion as I am not certain how to best add the information or if to add it at all (was it obvious before?). Is buffered iteration even a good suggestion for anything but small sets?

      On a side-note: is there a way to run unbuffered queries with Doctrine?

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-955] was closed:
        https://github.com/doctrine/doctrine2/pull/955

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-955] was closed: https://github.com/doctrine/doctrine2/pull/955

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: