[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [GT] Q re max-loaded-items
I just read some of these messages recently, but let me share some thoughts
even if late.
As far as I understand, the difference between nb-items and max-loaded-items
is/was as following:
max-loaded-items limits the number of records loaded from the database into
the Prices object. it can be useful for performance reasons, as it limits
the amount of memory used. only the genericdbi db object actually uses
this, other db objects load the entire available dataset into memory)
nb-items simply limits the number of items outputted in some scripts
(display_indicator.pl, graphic.pl). It has no effect on memory.
I understand you were dealing with inconsistencies in the use of these
across scripts. Haven't checked the applied patches, but think that's a
really good ideia.