Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Memory Management in Logic Script?

$
0
0

Hi Guys,

 

 

I have a case with a simple calculation on about 15 million records. Basically, the average of two members should go to a third member. So we have when/endwhen statement with REC=0.5.

 

The system on which I work is BPC 10.1 NW SP01/AnyDB (I know, it is for ramp-up...).

 

As you may expect I am experiencing tsv_tnew_page_alloc_failed dump.

 

I tried to use *XDIM_MAXMEMBERS, but from the limited experience, I had it was not helping. I think it is not releasing the internal table with each iteration. 

 

For that reason, I am doing the calculation with *FOR/NEXT loop which is making 25-27 When/Endwhen iterations based on members from one of the dimensions.

 

 

The question I have is, in which step the internal table is released/truncated?

 

From my feelings, Maxmembers is querying the data based on the defined slices, making the calculations and keeping the results in the internal table. However, the internal table is growing until all the slices are calculated. 

 

What are your experiences and do you know more intelligent way of spreading and keeping the internal table low?

 

Regards,

Emiliyan


Viewing all articles
Browse latest Browse all 3363

Trending Articles