Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20952

Creating content causes a memory leak using ezfind

    XMLWordPrintable

    Details

      Description

      using the api to create an object as described here: https://confluence.ez.no/display/EZP/3.+Managing+Content

      will cause the sequence:

      $locationCreateStruct = $locationService->newLocationCreateStruct( $parentLocationId );
      $draft = $contentService->createContent( $contentSkeleton, array( $locationCreateStruct ) );
      $content = $contentService->publishVersion( $draft->versionInfo );
      

      even after the method finishes executing. this will lead php exausting the memory when creating many objects in a loop.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paulo.bras@ez.no Paulo Bras (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 3 days, 30 minutes Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 days, 30 minutes Remaining Estimate - 1 hour
                  3d 30m