[Interest] QList operator
kreios4004 at gmail.com
Sat Jan 10 23:17:53 CET 2015
> > I added a couple lines of code to an app and suddenly it started
> > chewing through memory at an unbelievable rate. I watched it
> > get up to 12 GB at which point it hit my virtual memory limit ...
> > One of the added lines was:
> > const CultureItem& it = culture.items[i]; // added this
I am wondering what the following line does with the culture.items list.
If the culture object is copied or shares the culture.items, this could
cause the detached list to remain in memory.
item->setCulture(culture, i, _coordSys);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest