Created
March 23, 2011 10:29
-
-
Save jedi4ever/882912 to your computer and use it in GitHub Desktop.
blueprint out of memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
That would seem to be the case for me, too. Running a VPS with 466MB free, and I get a malloc error, too :(
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
I had the same problem today. Do micro instances just not have enough memory?