Hi.
In our application, we found that one of a nested For loop, dynamic creating the tabpages and in each tabpage, userobject is inserted. My question is Do we have any limit of items under an user object? After 1250 - 1300 items on userobject, application crashes without any error prompt.
Can you tell us the amount of memory used by your application just before it crashes?
As for the first question, there was a limit in the past but it was large enough.
Read the following from help file. It mentions a limitation (the one I have in mind is a larger one).
There is an internal limit on the sizeof compiled Pcode on any script. Pcode is the interpreted language into which scripts are compiled. A script that exceeds this limit can be compiled successfully, but the error "Maximum script size exceeded" displays when you attempt to save the script. Note that the amount of Pcode generated from a given script is not directly proportional to the number of lines of code, so you might encounter this error in a script with 1200 lines of code, but not in a script with 1500 lines of code. To avoid receiving this error, move code to functions that you post or trigger in the event script.
Anyway, having really long scripts is considered a bad practice in modern programming languages, and should be avoided.
Andreas.