[erlang-questions] : : fprof unusable?

Raimo Niskanen <>
Tue Aug 26 10:18:24 CEST 2008


On Mon, Aug 25, 2008 at 01:39:33PM +0100, Joel Reymont wrote:
> 
> On Aug 25, 2008, at 12:08 PM, Raimo Niskanen wrote:
> 
> >Fprof takes so much CPU load that it is nothing to use on
> >a heavily loaded system other than a not too heavily loaded
> >system under a very short time.
> 
> 
> FYI, this is just one problem with fprof. My problem is that during  
> the analysis phase fprof uses ETS and basically runs out of memory!

Yes, it is also a consequence of the "trace all and analyse later"
approach. There is too much data to analyse, too many
process stacks to follow, too many functions to watch.

Are you claiming it runs out of memory because it uses ETS?
The counters has to be kept somewhere, in a hash table -like
data structure.

> 
> --
> wagerlabs.com
> 
> 
> 
> 

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list