In order to play around with blueprint and blueprint-server I have launched two t1.micro instances at AWS, one for each role. At first I created a small blueprint following the example in the docs and with this small blueprint, the client pushes ok to the server.
I then setup a more complex enviroment (a graylog2 server) and created a new blueprint from it. When I tried to push this one I got an out-of-memory error:
fatal: Out of memory, malloc failed (tried to allocate 353669121 bytes)
Traceback (most recent call last):
File "/usr/bin/blueprint-push", line 27, in <module>
b = blueprint.cli.read(options, args)
File "/usr/lib/python2.7/dist-packages/blueprint/cli.py", line 70, in read
return blueprint.Blueprint.checkout(name)
File "/usr/lib/python2.7/dist-packages/blueprint/__init__.py", line 58, in checkout
tree = git.tree(commit)
File "/usr/lib/python2.7/dist-packages/blueprint/git.py", line 109, in tree
status, stdout = git('show', '--pretty=format:%T', commit)
File "/usr/lib/python2.7/dist-packages/blueprint/git.py", line 83, in git
raise GitError(p.returncode)
blueprint.git.GitError: 128
Is this a bug or there is some special attention I should be having regarding the amount of memory a client should when pushing to a server?