Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12934

Increase memory limit above 2GB or make it configurable

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      rake assets:precompile RAILS_ENV=production runs out of memory.

      There is no easy way to make this task incremental, and it consumes a significant amount of RAM in the process. The current 2 GB limit is leaving us unable to build our Ruby on Rails project (Maven 3.3.9, JRuby 9.1.2.0, PostgreSQL 9.2). Experimentally, it looks like we're about 500 MB short, and the app is by no means notably large.

      Either increasing the RAM limit across the board or making it configurable for different plans (perhaps some kind of EC2 inspired model of tiered build machines?) would change this from being unusable out of the gate.

      [ERROR] Failed to execute goal ...precompile-assets (default-precompile-assets) on project [project]: precompile assets failed: precompile assets with command java -jar /root/.m2/repository/org/jruby/jruby-complete/9.1.2.0/jruby-complete-9.1.2.0.jar -S /opt/atlassian/bitbucketci/agent/build/athena/.gems/bin/rake assets:precompile RAILS_ENV=production failed with return code 137 -> [Help 1]
      

      We're (relatively) happily using Bamboo now and are excited to jump over to Pipelines - when it can support our build of course.

      Attachments

        Activity

          People

            Unassigned Unassigned
            d7f6a861d63c Toby Murray
            Votes:
            8 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: