Ubuntu 11.04 and gitk problem
Ben Hutchings
ben at decadent.org.uk
Mon May 16 23:40:22 UTC 2011
On Sun, 2011-05-15 at 00:09 +0300, Anca Emanuel wrote:
> Hi, all.
>
> I try to run gitk from command line.
>
> Steps to reproduce:
> 1. git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 2. cd linux-2.6
> 3. gitk
>
> I can not run it. That kills my system (2GB RAM) and Unity as well.
> Any ideeas ?
What you're supposed to do is to limit the number of commits it pulls in
in some way. Since I sometimes forget to do that, I defined a gitk
alias that limits its memory usage so it will die without taking
anything else with it:
gitk() { (ulimit -v 1000000 && exec \gitk "$@"); }
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20110517/a1d74f8c/attachment.sig>
More information about the kernel-team
mailing list