Heroku failed to push: fatal: sha1 file '<stdout>' write error: Invalid argument

When I try to push my app to Heroku I get this error:

OCA@OCA-PC /c/rails/oca (master)
$ git push heroku master
Enter passphrase for key '/c/Users/OCA/.ssh/id_rsa':
Counting objects: 913, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (797/797), done.
Read from remote host heroku.com: Connection reset by peer
fatal: sha1 file '<stdout>' write error: Invalid argument
error: failed to push some refs to 'git@heroku.com:oca.git'

OCA@OCA-PC /c/rails/oca (master)
$

Anynone that knows what is causing this fatal error?
It is a very large push about 330 MB.

Problem solved max app size is 100 MB for heroku:

http://devcenter.heroku.com/articles/slug-szie