Ubuntu 11.04 and gitk problem

John Johansen john.johansen at canonical.com
Sat May 14 21:23:53 UTC 2011


On 05/14/2011 11:09 PM, 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 ?
> 
gitk is rather memory intensive, when I do gitk at the root of the kernel tree it
has an RSS of 1.6 GB which will push a 2 GB machine well into swap and will likely
cause the oom killer to run

You should try pruning what you are looking at by either specifying a path
  eg. gitk fs/ext4/

Or pruning of older history
  eg. gitk v2.6.32..







More information about the kernel-team mailing list