New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Error when remote update in mozilla-build #110

Closed
daoshengmu opened this Issue Feb 15, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@daoshengmu

daoshengmu commented Feb 15, 2017

It happens OOM when I use MINGW32 in mozilla-build to remote update mozilla-central on Windows. I have taken a look at Task Manager, python2.7(x86).exe indeed will use over than 2 GB memory. After I replace it with python2.7(x64) that I download from Python official website, this problem can be resolved.

@evelynhung

This comment has been minimized.

Show comment
Hide comment
@evelynhung

evelynhung Feb 15, 2017

I meet the same problem too...

evelynhung commented Feb 15, 2017

I meet the same problem too...

@glandium

This comment has been minimized.

Show comment
Hide comment
@glandium

glandium Feb 15, 2017

Owner

Cloning a repository the size of mozilla-central currently requires a lot of memory. More than is available to a 32-bits process. There is no way around that before the changes from issue #98. I'm not sure version 0.5 will use much less memory, but surely 0.6 will. I cannot give any ETA, though.
In the meanwhile, you'll have to use a 64-bits python, I guess.

Owner

glandium commented Feb 15, 2017

Cloning a repository the size of mozilla-central currently requires a lot of memory. More than is available to a 32-bits process. There is no way around that before the changes from issue #98. I'm not sure version 0.5 will use much less memory, but surely 0.6 will. I cannot give any ETA, though.
In the meanwhile, you'll have to use a 64-bits python, I guess.

@glandium

This comment has been minimized.

Show comment
Hide comment
@glandium

glandium Mar 29, 2017

Owner

Can you test the master branch with a 32-bits python? It /should/ be able to clone mozilla-central, now.

Owner

glandium commented Mar 29, 2017

Can you test the master branch with a 32-bits python? It /should/ be able to clone mozilla-central, now.

@daoshengmu

This comment has been minimized.

Show comment
Hide comment
@daoshengmu

daoshengmu Mar 30, 2017

@glandium I have tried, it works fairly well. Good job!

daoshengmu commented Mar 30, 2017

@glandium I have tried, it works fairly well. Good job!

@glandium

This comment has been minimized.

Show comment
Hide comment
@glandium

glandium Mar 30, 2017

Owner

Closing the issue, then :)

Owner

glandium commented Mar 30, 2017

Closing the issue, then :)

@glandium glandium closed this Mar 30, 2017

@6a68

This comment has been minimized.

Show comment
Hide comment
@6a68

6a68 May 17, 2017

I ran into this issue today on MozillaBuild / MINGW32, and worked around it by checking out the master branch of git-cinnabar, installing the requests python module (pip install requests), then downloading the cinnabar helper (git cinnabar download).

After that, I switched back to my local copy of gecko, and git fetch central completed without a MemoryError.

6a68 commented May 17, 2017

I ran into this issue today on MozillaBuild / MINGW32, and worked around it by checking out the master branch of git-cinnabar, installing the requests python module (pip install requests), then downloading the cinnabar helper (git cinnabar download).

After that, I switched back to my local copy of gecko, and git fetch central completed without a MemoryError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment