On Sun, 2012-04-15 at 19:17 +0200, Folkert van Heusden wrote: > Hi, > > I'm trying to debug this (opengl) application I'm writing. > Now something odd happens: when I run it in gdb, it occasionally > sigsegvs which is not ok but expected, but when ran under valgrind the > whole system crashes. > I think it starts swapping like hell, but far more than the usual out > of memory situation because not even the mouse cursor moves. > So what I would like to know: is it possible to let valgrind limit the > amount of memory the 'guest application' uses? Could not find this in > the man page.
Which Valgrind version are you using ? 3.7.0 contains a fix related to memory usage (bug 250101). 3.8.0 SVN has also some improvements related to memory usage. If you still have a problem, ulimit -d .... will limit the total memory used by Valgrind and the guest application. Philippe ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users