Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped build_packager script memory limit #118

Merged
merged 2 commits into from
Apr 28, 2017

Conversation

ryanrath
Copy link
Contributor

Description

  • When executing a local deploy ( as opposed to pulling down the source from a
    git repo ) this script consistently runs out of memory. Bumping the limit to
    256M alleviates this issue.

Motivation and Context

The script was running out of memory, now it does not.

Tests performed

  • Manual testing, running a local deploy completes successfully
  • Manual testing, running a remote deploy ( from git ) completes successfully

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- When executing a local deploy ( as opposed to pulling down the source from a
  git repo ) this script consistently runs out of memory. Bumping the limit to
  256M alleviates this issue.
@ryanrath ryanrath requested a review from jtpalmer April 28, 2017 15:09
@@ -8,6 +8,8 @@

require_once __DIR__ . '/../../configuration/linker.php';

ini_set('memory_limit', '256M');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer that the memory limit be disabled as is done in the other scripts. e.g. https:/ubccr/xdmod/blob/xdmod6.6/bin/xdmod-upgrade#L20

- Updated per code review comment by @jtpalmer
@ryanrath ryanrath merged commit 0be2d6a into ubccr:xdmod6.7 Apr 28, 2017
@ryanrath ryanrath deleted the build_package_memory_bump branch April 28, 2017 19:27
tyearke added a commit that referenced this pull request May 5, 2017
@tyearke tyearke added the bug Bugfixes label May 10, 2017
@tyearke tyearke added this to the v6.7.0 milestone May 10, 2017
jtpalmer pushed a commit to jtpalmer/xdmod that referenced this pull request May 11, 2017
* Bumped build_packager memory limit

- When executing a local deploy ( as opposed to pulling down the source from a
  git repo ) this script consistently runs out of memory. Bumping the limit to
  256M alleviates this issue.

* Removed Memory Limit for build_package.php script

- Updated per code review comment by @jtpalmer
@tyearke tyearke modified the milestones: v7.0.0, v6.7.0 Jun 6, 2017
chakrabortyr pushed a commit to chakrabortyr/xdmod that referenced this pull request Oct 17, 2017
* Bumped build_packager memory limit

- When executing a local deploy ( as opposed to pulling down the source from a
  git repo ) this script consistently runs out of memory. Bumping the limit to
  256M alleviates this issue.

* Removed Memory Limit for build_package.php script

- Updated per code review comment by @jtpalmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants