View not loading in TI Process
Posted: Thu Dec 12, 2019 4:06 pm
Hi,
I've done quite a bit of searching on this and haven't found a solution yet, so thought I'd try posting here. I've got a TI process that does an ASCIIOUTPUT from a view used as the data source. That process has been consistently failing for the last few weeks with an error popup of "Unexpected return in function: COrionTreView::OnProcessExecute" The log file error is:
2436 [4] WARN 2019-12-11 13:31:55.997 TM1.Server.Memory al_Alloc() outOfMemory Exception <<< MEMORY_TEMP_POOL_EXCEEDED >>> MaximumViewSize memory exceeded - apifunc# "155" - pool# "0" - poolsize "2516574976.000000"
It looks like the process is not able to open the view. We added 4GB of RAM (from 48 to 52GB) about a month ago, so I don't think it's really a memory issue. In addition, we have process that uses much larger views that are working OK. I tried exporting the view manually - that's worked intermittently. When it does work, it hangs on Record 1 for a couple of minutes, then starts exporting (slowly, imho), and exports about 150,000
records (zero's suppressed). Since it seems to take quite a while for that export to start working, my 1st thought is that the process is timing out - anyone know if that's possible, and if so, is there a config setting I'm missing?
The view uses a couple of dynamic subsets (pulling mainly Level 1 elements), and 4 static subsets. I've tried creating the view and subsets dynamically within the TI process, the making all of the subsets static, but no love there.
As a temporary workaround, instead of a view, I tried using one of the subsets as the datasource, the nesting some loops through the other dimensions to walk through all of the required coordinates. That works, but I'm getting the following non-fatal log error which I think may be a clue (or it could just be a red herring):
"xxxxxxxxxxxxx",Data Source line (2) Error: MetaData procedure line (22): Invalid key: Dimension Name: "dimname", Element Name (Key): ""
Error: MetaData procedure line (22): error repeats 998 times
"xxxxxxxxxxxxx",Data Source line (2) Error: MetaData procedure line (0):
Error: MetaData procedure line (10037): ............. Log file error limit has been reached.
Where xxxxxxxxxxx is an element that I'm actually getting for a subset and dimname is the name of the dimension - since I know that element actually does exist (it's coming from a subset, after all), that makes me suspicious. Also, we have another view that uses the same two dynamic subsets that is also failing, so it seems likely it's something in subset - is it possible for the dimension to be corrupted? If so, how do I identify/fix? The element that's identified in the error looks OK to me, but...
We migrated from 10.2.2 to 2.05 about 3 months ago - the views seemed to work OK until about 2-3 weeks ago.
Hope that's enough to go on w/o being too much detail - thanks for any ideas you guys might have.
I've done quite a bit of searching on this and haven't found a solution yet, so thought I'd try posting here. I've got a TI process that does an ASCIIOUTPUT from a view used as the data source. That process has been consistently failing for the last few weeks with an error popup of "Unexpected return in function: COrionTreView::OnProcessExecute" The log file error is:
2436 [4] WARN 2019-12-11 13:31:55.997 TM1.Server.Memory al_Alloc() outOfMemory Exception <<< MEMORY_TEMP_POOL_EXCEEDED >>> MaximumViewSize memory exceeded - apifunc# "155" - pool# "0" - poolsize "2516574976.000000"
It looks like the process is not able to open the view. We added 4GB of RAM (from 48 to 52GB) about a month ago, so I don't think it's really a memory issue. In addition, we have process that uses much larger views that are working OK. I tried exporting the view manually - that's worked intermittently. When it does work, it hangs on Record 1 for a couple of minutes, then starts exporting (slowly, imho), and exports about 150,000
records (zero's suppressed). Since it seems to take quite a while for that export to start working, my 1st thought is that the process is timing out - anyone know if that's possible, and if so, is there a config setting I'm missing?
The view uses a couple of dynamic subsets (pulling mainly Level 1 elements), and 4 static subsets. I've tried creating the view and subsets dynamically within the TI process, the making all of the subsets static, but no love there.
As a temporary workaround, instead of a view, I tried using one of the subsets as the datasource, the nesting some loops through the other dimensions to walk through all of the required coordinates. That works, but I'm getting the following non-fatal log error which I think may be a clue (or it could just be a red herring):
"xxxxxxxxxxxxx",Data Source line (2) Error: MetaData procedure line (22): Invalid key: Dimension Name: "dimname", Element Name (Key): ""
Error: MetaData procedure line (22): error repeats 998 times
"xxxxxxxxxxxxx",Data Source line (2) Error: MetaData procedure line (0):
Error: MetaData procedure line (10037): ............. Log file error limit has been reached.
Where xxxxxxxxxxx is an element that I'm actually getting for a subset and dimname is the name of the dimension - since I know that element actually does exist (it's coming from a subset, after all), that makes me suspicious. Also, we have another view that uses the same two dynamic subsets that is also failing, so it seems likely it's something in subset - is it possible for the dimension to be corrupted? If so, how do I identify/fix? The element that's identified in the error looks OK to me, but...
We migrated from 10.2.2 to 2.05 about 3 months ago - the views seemed to work OK until about 2-3 weeks ago.
Hope that's enough to go on w/o being too much detail - thanks for any ideas you guys might have.