mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #69] memory_limit #185
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#185
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 @Qrzysio on GitHub (Jan 11, 2018).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/69
In
DBDiff.phpfile there is a line which sets upmemory_limitto512M.ini_set('memory_limit', '512M');This is wrong due to on local machines sometimes we have to set it up even higher. This value should only be set up by user and not appear in the class.
@makopov commented on GitHub (Jan 15, 2018):
I'm guessing this is so that we don't have to set our systems higher for just this script. However I ran into the same issue where it was not enough and I had to set it to 1024. They should just set this to 1024 in their script. Its not something ran often so its probably okay.
@aurora commented on GitHub (Jul 19, 2019):
Why even set it to a hard-coded value? Should at least be changeable using an option-switch.
@dataf3l commented on GitHub (Oct 22, 2020):
I agree, this also bit me, I had to go fishing for the memory setting.
I guess nobody cares about this project...
@dataf3l commented on GitHub (Oct 22, 2020):
Maybe the program shouldn't put all the records in memory, no?