Giter Club home page Giter Club logo

Comments (11)

rhaamo avatar rhaamo commented on July 28, 2024

Hm, nobody have an idea ? :(

from grit.

bobbywilson0 avatar bobbywilson0 commented on July 28, 2024

I just tried your test and switched the repo to the grit repo itself since it was one I had handy. It worked fine. Have you tried executing your test with any other repos? I am also on OS X not Linux, but I am using Grit 2.4.1 and ruby 1.9.2-p180.

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

Yep i've used others repos, but small/normal repos works, and a very huge like the linux one fails.

from grit.

bobbywilson0 avatar bobbywilson0 commented on July 28, 2024

I basically ran into the same error.

Here is my output: https://gist.github.com/1080713

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

Yep! That's what i got :)

from grit.

bobbywilson0 avatar bobbywilson0 commented on July 28, 2024

Was it the exact same commit? Can you post your detailed output as well?

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

Not the same commit, https://gist.github.com/1081017, my linux repo is not updated to the latest also...

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

If somebody have an idea on how to debug this, i've no idea where to start.. This is really annoying :(

from grit.

bobbywilson0 avatar bobbywilson0 commented on July 28, 2024

Unfortunately this bug is very deep rooted. What exactly are you trying to do? It may be easier at this point to just get the result you want another way than to try and fix the bug.

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

I need to get infos from commits, 10 by 10 (the test provided is extracted from my app).

from grit.

rhaamo avatar rhaamo commented on July 28, 2024

Some update, i've bumped limits:

Grit::Git.git_timeout = 600 # 10.minutes
Grit::Git.git_max_size = 83886080 # 80.megabytes

And finally got:

D, [2011-08-10T10:58:36.997819 #25172] DEBUG -- : /usr/bin/git --git-dir=/home/marc/linux-3.0.y/.git rev-list --pretty=raw --max-count=10 --skip=2220 master
/home/marc/.rvm/gems/ruby-1.9.2-p180/gems/grit-2.4.1/lib/grit/process.rb:290:in `spawn': Cannot allocate memory - /usr/bin/git (Errno::ENOMEM)

I think i've got the same problem as #41, a memory leak in rev_list...

from grit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.