Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created March 23, 2011 10:29
Show Gist options
  • Save jedi4ever/882912 to your computer and use it in GitHub Desktop.
Save jedi4ever/882912 to your computer and use it in GitHub Desktop.
blueprint out of memory
Amazon
#ID = "ami-cef405a7" = x64 Ubuntu 10.10
:image_id => 'ami-cef405a7', :flavor_id => 't1.micro',
# [blueprint] searching for PEAR/PECL packages
# [blueprint] searching for Python packages
# [blueprint] searching for Ruby gems
# [blueprint] searching for configuration files
# [blueprint] searching for software built from source
# [blueprint] searching for apt packages
No packages found matching ubuntu-desktop.
Initialized empty Git repository in /root/.blueprints.git/
fatal: Out of memory, malloc failed
Traceback (most recent call last):
File "/usr/local/bin/blueprint-create", line 58, in <module>
filename = getattr(b, options.generate)().dumpf()
File "/usr/local/lib/python2.6/dist-packages/blueprint/__init__.py", line 257, in puppet
tree = git.tree(self._commit)
File "/usr/local/lib/python2.6/dist-packages/blueprint/git.py", line 60, in tree
status, stdout = git('show', '--format=%T', commit)
File "/usr/local/lib/python2.6/dist-packages/blueprint/git.py", line 37, in git
raise GitError(p.returncode)
blueprint.git.GitError: 128
@jaakkos
Copy link

jaakkos commented Jun 15, 2012

It seems to be problem with git not the blueprint it self.
Not sure about the limits but they helped in my case.

git config --global pack.packSizeLimit 20m
git config --global pack.windowMemory 10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment