[GH-ISSUE #1252] Allowed memory size of 134217728 bytes exhausted #714

Closed
opened 2026-02-26 02:34:03 +03:00 by kerem · 2 comments
Owner

Originally created by @targor on GitHub (Oct 14, 2020).
Original GitHub issue: https://github.com/koel/koel/issues/1252

Describe the bug
When syncing the database with:
php artisan koel:sync

i get this error: " Allowed memory size of 134217728 bytes exhausted (tried to allocate 1650688 bytes) "

after restarting this command it resumes the process.. needed to resume 3 to 4 times because i have many audio files...

To reproduce
Steps to reproduce the behavior:

  1. create this docker : https://hub.docker.com/r/hyzual/koel/
  2. go into the docker and init the database
  3. start syncing the music files with : php artisan koel:sync

Expected behavior
Syncing should run trough without memory allocating problems

Environment

  • Koel version [e.g. v4.4.0]
  • OS: [e.g. Linux/Docker]
Originally created by @targor on GitHub (Oct 14, 2020). Original GitHub issue: https://github.com/koel/koel/issues/1252 **Describe the bug** When syncing the database with: php artisan koel:sync i get this error: " Allowed memory size of 134217728 bytes exhausted (tried to allocate 1650688 bytes) " after restarting this command it resumes the process.. needed to resume 3 to 4 times because i have many audio files... **To reproduce** Steps to reproduce the behavior: 1. create this docker : https://hub.docker.com/r/hyzual/koel/ 3. go into the docker and init the database 4. start syncing the music files with : php artisan koel:sync **Expected behavior** Syncing should run trough without memory allocating problems **Environment** - Koel version [e.g. v4.4.0] - OS: [e.g. Linux/Docker]
kerem 2026-02-26 02:34:03 +03:00
Author
Owner

@BrookeDot commented on GitHub (Oct 16, 2020):

Hi there,

Looks like the server you are running Koel on may only have ~134.218mb of RAM available to PHP. You can increase the amount of RAM available to PHP or run the command multiple times.

You could also update the Koel version in the docker file from 4.1.0 to 4.4.0 to see if that changes anything.

<!-- gh-comment-id:709882631 --> @BrookeDot commented on GitHub (Oct 16, 2020): Hi there, Looks like the server you are running Koel on may only have ~134.218mb of RAM available to PHP. You can increase the amount of RAM available to PHP or run the command multiple times. You could also update the Koel version in the docker file from 4.1.0 to 4.4.0 to see if that changes anything.
Author
Owner

@BrookeDot commented on GitHub (Dec 23, 2020):

I'm going to close this out. If you're still having trouble after increasing the RAM available to PHP feel free to re-open.

<!-- gh-comment-id:750392096 --> @BrookeDot commented on GitHub (Dec 23, 2020): I'm going to close this out. If you're still having trouble after increasing the RAM available to PHP feel free to re-open.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#714
No description provided.