mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #268] PHP Memory Exhausted #198
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alex-phillips on GitHub (Mar 16, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/268
Running koel v2.2.0 on a Mac Mini server running OS X 10.10.5 with PHP7 (installed through Homebrew).
I am having an issue when running the
syncscript where PHP runs out of memory after a while. The following is the error presented when it fatals:It's quite possible that it could be due to the size of my library, but not entirely sure. My iTunes library is currently reporting 43,101 items.
@phanan commented on GitHub (Mar 17, 2016):
Try increasing your PHP memory limit.
@alex-phillips commented on GitHub (Mar 17, 2016):
I understand increasing the memory is a solution, but I was hoping for some insight on what exactly is causing the memory to run out. And to what end increasing it going to solve?
Is this issue associated with the size of my library? Will I have to keep increasing the allowed memory usage as my media library grows over time?
@phanan commented on GitHub (Mar 17, 2016):
During sync, Koel reads your media files and tries to extract data from
them. This process consumes memory.
Now in your case, 134217728 bytes is only 128MB, which is really low,
especially when you have your own server. I'd suggest a 512MB setting.
And no, you don't have to keep increasing the memory, as syncing is
incremental – only new or changed files are read.
On Thu, Mar 17, 2016 at 7:36 PM, Alex Phillips notifications@github.com
wrote:
@alex-phillips commented on GitHub (Mar 17, 2016):
Thanks for the information, makes much more sense now.
@My1 commented on GitHub (May 28, 2016):
I would say that this should get into the wiki.
also maybe an error note should be set on the page instead of "unknown" error when setting the path.