Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

fatal: Out of memory, malloc failed (tried to allocate 2282218975 bytes)


error (1).PNGGetting this error message when team member is trying to push to gitlab cloud repository via source tree.

I have unprotected the project and made him maintainer via gitlab but still gets this error in source tree.

I have a few repository’s but this one I’m trying to set it up so he can share work with me.

Is anybody else aware of this error we are getting?

I was directed to this response Error which said to change git config files in 

cd %USERPROFILE%\AppData\Local\Atlassian\SourceTree\git_local\bin

these files are not located there to be able to change the config file when i have searched on local hd and via cmd.

Could somebody direct me please to where I would locate them so I can change 

        deltaCacheSize = 1g
        packSizeLimit = 1g
        windowMemory = 1g
        packedGitLimit = 1g
        packedGitWindowSize = 1g

if anybody could help it would be greatly appreciated :slight_smile:

1 answer

I have found it here:
...AppData\Local\Atlassian\SourceTree\git_local\etc and gitconfig is the file u are looking for I guess.

Unfortunately I don't have the same file structure I have hg_local and no git_local. and in the hg_local no etc folder. 

Not sure if this is anything to do with git in source tree not being embedded but installed with the 64bit version via

do you think I should install source trees embedded version that's 32 bit and try that? 

Like Siam Anonto likes this

I installed the embedded version of git and the config file became available in the etc folder so I was able to edit it and it solved the issue with not being able to push on my end.

My colleague is not able to do this as he is stuck on a different version of git when it is embedded into source tree on his end. So he is not able to push as he does not have a config file in the etc folder?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,790 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you