Skip to content

Commit

Permalink
fix: increase php memory limit (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed May 31, 2023
1 parent 1a81eb8 commit 685b419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules_php_gapic/php.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ tar cf - --dereference src/ generated/ googleapis/ tools/ vendor/ composer.json
WD="$(pwd)"
PHP="$WD/$(dirname $0)/{run_name}.runfiles/$(basename $WD)/{php_short_path}"
cd "$(dirname $0)/{run_name}.runfiles/$(basename $WD)/{out_short_path}/install"
"$PHP" -n -d memory_limit=512M './{entry_point}' {working_directory_flag} $@
"$PHP" -n -d memory_limit=1024M './{entry_point}' {working_directory_flag} $@
""".format(
php_short_path = ctx.file.php.short_path,
out_short_path = out_dir.short_path,
Expand Down

0 comments on commit 685b419

Please sign in to comment.