|
From: Christoph B. <bar...@or...> - 2006-10-24 14:37:17
|
Am Dienstag, 24. Oktober 2006 16:10 schrieb Julian Seward: > Fine so far. > > > > - Does it do a lot of mallocs/frees? > > > > There are a lot of mallocs/frees but I would not say that the number is > > very high. I could measure the exact number of allocs/frees if this is > > more important. > > More info would be useful. > > Roughly how many simultaneously live blocks do you have allocated? > eg, 100k blocks? 1 million blocks? > > Roughly how many total allocations/frees does the program do? > (running memcheck with -v will tell you). > > The first question is more important. It is not easy to answer the first question. The programm is running inside of a nutshell and I cannot say how many live blocks the shell has when my application is started. The run I terminated with CTRL+C and mentioned in an earlier mail had 98,138,916 allocations and 97,052,020 frees. That indicates a number of 1,086,896 live blocks. My core application operates only on about 100-10,000 live blocks. The rest belongs to the nutshell. I have now started the programm with -v. What is the interessting output? Christoph |