|
From: Julian S. <js...@ac...> - 2008-03-27 15:20:17
|
> Although I still consider it as a great feature that it is now
> possible in Valgrind tools to obtain detailed information about
> variables, I will disable this by default in exp-drd. The problem is
> that reading all the variable info at once in memory takes up a lot of
> space. E.g. for Firefox 3 more than 2 GB is needed to read in all
> variables. My PC does not have so much memory.
Yes. I know the problem. I think I was a bit naive in assuming
that the space requirements wouldn't be a problem.
Did you configure firefox like this?
./configure --prefix=$XYZZYFOOBAR --enable-application=browser \
--enable-optimize="-O -g"
so that you are building at -O1 instead of -O0 ? It reduces
the amount of generated code a lot and so might reduce the amount
of debug info too. My experience with firefox is that the
variable info takes "only" about 500MB.
Alternative you could just add more swap space. After all that
variable info is read in and mostly ignored, so it's OK for the
process size to get very large if half of it can be swapped out
and is never referenced again.
J
|