Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Is this one of your error messages?
Hi, I have an OI program that runs at 6am and 7am every day.
The program makes use of 2 of your tools: the hash table and the srp_array("clean"....) function. For some reason, the program crashed at 7am (but not at 6am) with this error message. Would this message be generated by one of your tools, or is this a vanilla OI thing.
I'm stumped, as the data between 6am and 7am was the same as far as i can tell, so i don't think that the 7am program crashed because of bad data...perhaps it was a memory issue?
oh yeah, and when I re-re ran the report again, it crashed on the same loading bar stage...Then I ran it again, and the program didn't crash. But before running it the second time(when it worked), I close the other OI program that was running on the computer, so perhaps that was related?
The program makes use of 2 of your tools: the hash table and the srp_array("clean"....) function. For some reason, the program crashed at 7am (but not at 6am) with this error message. Would this message be generated by one of your tools, or is this a vanilla OI thing.
I'm stumped, as the data between 6am and 7am was the same as far as i can tell, so i don't think that the 7am program crashed because of bad data...perhaps it was a memory issue?
oh yeah, and when I re-re ran the report again, it crashed on the same loading bar stage...Then I ran it again, and the program didn't crash. But before running it the second time(when it worked), I close the other OI program that was running on the computer, so perhaps that was related?
Comments
SRP_SORY_ARRAy. It's crashing on that function.
I think it could be crashing because I have a row with a different number of columns to all the other rows in the array to be sorted. But it doesn't crash all the time. I will investigate further.
BTW, not that it should matter in terms of functionality, but we recommend you replace your SRP_Sort_Array calls with SRP_Array("SortRows") call. The latter is a wrapper around the former. The SRP_Array function can also be used to call other services so it is a bit more convenient.
I will try to upgrade, and I will also call SRP_Array("SortRows") instead of SRP_Sort_Array.
Thanks so much for your help.
But 2 things still aren't explained:
1. Why did this only start happening today? This program has been running for months.
2. Why on the production computer does it only sometimes crash even though the data that is being sorted is the same as when it does crash.
As to your other questions, I'm assuming you are just thinking out loud. I have no way of answering those questions.
and yes don't worry, you don't need to answer my 2 questions.