Hi,

On Tue, 2009-07-07 at 20:33 -0500, Dirk Reiners wrote:
>       Hi Gerrit, hi Carsten,
> 
> I've been valgrinding and debugging one of our apps today, and one problem 
> that 
> we found was that passing around RefPtrs makes the ChangeList grow very 
> quickly 
> and pretty brutally. Admittedly, the program used them to pass in arguments 
> into 
> functions that were called a few million times, but in the end we had ~500MB 
> of 
> ChangeList.
> 
> Do you think there is an easy way to find AddRef/SubRef pairs in the CL and 
> just 
> delete them? Our case was probably extreme, but I can see that happening 
> easily, 
> especially when porting apps from 1 to 2.

we can try to store a counter within the changed entry itself. I know I
thought about it at some point in time, but just now I'm not sure why I
did not implement it so far. I'll try and see what happens.

BTW just to be sure, you are using multi aspects or clustering, so just
switching the changelist to readonly would not help.

kind regards,
  gerrit



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to