Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61011

core_course_get_courses api function uses ALL the memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.3, 3.10.3
    • Caching, Web Services

      We are running an integration that requires a webservice with access to the core_course_get_courses function.  Our site has ~8000 courses in the database.  We are receiving the following error.

       

      PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 1052672 bytes) in /var/www/moodle/cache/stores/file/lib.php on line 368" while reading response header from upstream

       

      We have increased the PHP memory to 24GB and still it exhausts the memory.  What can be done?

            Unassigned Unassigned
            syxton Matthew Davidson
            Laurent David Laurent David
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.