2
Malloc failed when trying to git push
Post Body
I accidentally dumped a large amount of data into my git repo about a month ago. Pushes stopped working five days ago.
Whenever I try to do a push
or a repack -afd
, I get:
Counting objects: 14097, done.
Compressing objects: 100% (12947/12947), done.
fatal: Out of memory, malloc failed (tried to allocate 514001492 bytes)
Based on many google searches, I have already tried changing the pack.windowSize to a smaller value (first 128mb, then 50mb) to no avail.
I found the commit that contains this massive amount of data (about 2.7GB, mostly images and massive massive log files; I was not being smart), but at this point I don't know what the appropriate course of action is.
Some further info: This repo gets pushed to a private bitbucket repo which has already received the offending commit and a few more on top of that.
Author
Account Strength
100%
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
155,605
Link Karma
15,930
Comment Karma
138,662
Profile updated: 3 days ago
Posts updated: 5 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 11 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/git/comment...