 |
|
 |
Subject: "Out of string space" error in a LotusScript Agent running on a Domino over iSeries |
 |
 |
 |
Product Area: Domino Server |
 |
Technical Area: Error Message |
 |
Platform: System i (iSeries/i5OS) |
 |
Release: 8.5.3 |
 |
Reproducible: Always |
 |
 |
 |
 |
Hi,
Is there any limitation for strings in an LotusScript agent running on a Domino over iSeries?
I have a problem with an agent, written in LotusScript. The agente basically do this:
1) Open a text file.
2) for each line in the file
2.1) tempString = the line + something
2.2) Print Lenbp(resultString) '<-Printing for debugging purposes
2.3) resultString = resultString + tempString '<-Here is where the agent fails after 10k loops, when the string is 8,385,850.00 bytes
3) write resultString into a file
4) Do something else with the new file...
This agent sends account statements to the costumers of my company, It has been working OK for 12 years, but last month it failed with a costumer with more than 11k of transactions a month.
The LS documentation says that a string is limited by available memory, I increased the memory of the sub-system from 500Mb to 2Gb, re-started the Domino (and the subsys), and it fails again, in the same line after the same amount of loops.
I tried to process the same account statement in a different iSeries server, and exactly the same; always fails in the same line and same amount of bytes in the String variable. There is not a special characters in the source data. There are not users connected to these Dominos, there are not other applications, these Domino are just running this agent, only one statement in the test.
Then, I ran the agent (same data) in a Domino over Windows (2Gb of memory), and worked OK even with lot of more data.
The agent is very complex and very bad structured, so I'm trying to avoid to changed it.
Does anybody know if there is an OS restriction or if there is something that I can change in order to tune my iSeries/Domino to avoid this problem?
Sorry for My English!
 
Feedback number WEBB9AR3KZ created by ~Carol Lopboosigenoopsi on 08/20/2013

Status: Open
Comments:

"Out of string space" error in a Lo... (~Carol Lopboosi... 20.Aug.13)
. . Your best bet is to open a spr with... (~Sean Eljumigon... 20.Aug.13)
. . Interesting (~Judy Ektumizen... 21.Aug.13)
. . . . problem solved (~Carol Lopboosi... 21.Aug.13) |
|  |
|