Skip to content

Commit

Permalink
memory_limit specified as int to resolve windows-related issue vimeo#842
Browse files Browse the repository at this point in the history
 without requiring --use-ini-defaults argument to be passed
  • Loading branch information
SignpostMarv committed Jul 3, 2018
1 parent eb8288b commit 0751021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psalm.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if (!array_key_exists('use-ini-defaults', $options)) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('memory_limit', '4096M');
ini_set('memory_limit', 4 * 1024 * 1024 * 1024);
}

if (array_key_exists('help', $options)) {
Expand Down

0 comments on commit 0751021

Please sign in to comment.