Memory bloat issue
Posted: Tue Jan 10, 2012 12:38 pm
I have a weird issue with some memory doubling itself each time a TI process is run. The process builds a dimension with 15,000 elements and 4 attributes. The Dimension attributes are created each time:
ATTRDELETE('BI_LabBk_JobNo','BkType');
ATTRINSERT('BI_LabBk_JobNo','','BkType','S');
ATTRDELETE('BI_LabBk_JobNo','Item');
ATTRINSERT('BI_LabBk_JobNo','','Item','S');
ATTRDELETE('BI_LabBk_JobNo','Costed');
ATTRINSERT('BI_LabBk_JobNo','','Costed','S');
ATTRDELETE('BI_LabBk_JobNo','CompDate');
ATTRINSERT('BI_LabBk_JobNo','','CompDate','S');
The }ElementAttributes cube for this dimension is the problem. Each time the TI process runs (every 1/2 hour), the }ElementAttributes cube doubles in size. As the TM1 service is only re-started every 24 hours, we end up with this cube taking up 1.6 Gb of memory each day.
I assumed it was something to do with re-creating the attributes each time. Can anyone kindly shed any light on this phenomenon please? Has it happened to others?
Many thanks for any help gratefully received.
Ian Digby, Meggitt Avionics.
ATTRDELETE('BI_LabBk_JobNo','BkType');
ATTRINSERT('BI_LabBk_JobNo','','BkType','S');
ATTRDELETE('BI_LabBk_JobNo','Item');
ATTRINSERT('BI_LabBk_JobNo','','Item','S');
ATTRDELETE('BI_LabBk_JobNo','Costed');
ATTRINSERT('BI_LabBk_JobNo','','Costed','S');
ATTRDELETE('BI_LabBk_JobNo','CompDate');
ATTRINSERT('BI_LabBk_JobNo','','CompDate','S');
The }ElementAttributes cube for this dimension is the problem. Each time the TI process runs (every 1/2 hour), the }ElementAttributes cube doubles in size. As the TM1 service is only re-started every 24 hours, we end up with this cube taking up 1.6 Gb of memory each day.
I assumed it was something to do with re-creating the attributes each time. Can anyone kindly shed any light on this phenomenon please? Has it happened to others?
Many thanks for any help gratefully received.
Ian Digby, Meggitt Avionics.