• Kid Stack Size Limit Exceeded

    From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to All on Wed Jul 19 01:14:33 2023
    Please help, since I am totaly stuck with the following. Any suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a simple test. I wrote a function Recursion_test() which I called recursively. The function gets called 664 times and then throws error "Kid Stack Size Limit Exceeded".
    Given the fact that there are no additional objects instanciated and no additional variables initialized I expected the error would be corrected by assigning proper value to SetKidStackSize(), but this was not the case. It seems there is another
    limitation set in CAVO which I do not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192 Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to 10000 Memory(MEMORY_REGISTERAXIT) 222, SetMaxRegisteredAxitMethods(0) is set to 64000 MEMORY_STACK_SIZE 1069056, MEMORY_STACK_FREE 1035688
    MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Deckard42@21:1/5 to All on Wed Jul 19 05:31:37 2023
    have you tried increasing the value of Project settings/Linker/Stack size?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to All on Fri Jul 21 04:26:46 2023
    I have tried but increasing the value of Project settings/Linker/Stack size does not help.

    When error occurs there is still plenty of stack space available. MEMORY_STACK_FREE shows more than 1Mb, while used stack space is 33kb (MEMORY_STACK_SIZE minus MEMORY_STACK_FREE) and remains the same even if I increase stack size in project settings.

    There must be a limit somewhere else. I just can not believe that VO allows only 664 levels of recursion.

    Would you be kind enough to run the simple recursion function below and see what the limit in your VO installation is?

    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    ? "level of recursion "
    ?? nLevel
    Recursion_test(nLevel)
    RETURN

    On Wednesday, July 19, 2023 at 2:31:38 PM UTC+2, Deckard42 wrote:
    have you tried increasing the value of Project settings/Linker/Stack size?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to All on Mon Jul 24 14:30:23 2023
    I see the same issue. I suggest your post your question to the forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal

    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a simple test. I wrote a function Recursion_test() which I called recursively. The function gets called 664 times and then throws error "Kid Stack Size Limit Exceeded".
    Given the fact that there are no additional objects instanciated and no additional variables initialized I expected the error would be corrected by assigning proper value to SetKidStackSize(), but this was not the case. It seems there is another
    limitation set in CAVO which I do not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192 Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to 10000 Memory(MEMORY_REGISTERAXIT) 222, SetMaxRegisteredAxitMethods(0) is set to 64000
    MEMORY_STACK_SIZE 1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to Jamal on Wed Jul 26 02:52:06 2023
    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a simple test. I wrote a function Recursion_test() which I called recursively. The function gets called 664 times and then throws error "Kid Stack Size Limit Exceeded".
    Given the fact that there are no additional objects instanciated and no additional variables initialized I expected the error would be corrected by assigning proper value to SetKidStackSize(), but this was not the case. It seems there is another
    limitation set in CAVO which I do not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192 Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to 10000 Memory(MEMORY_REGISTERAXIT) 222, SetMaxRegisteredAxitMethods(0) is set to 64000
    MEMORY_STACK_SIZE 1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Riedmann@21:1/5 to All on Wed Jul 26 18:07:57 2023
    For all that are reading here: Robert has answered that this is not
    possible to solve because the number of recursions is limited (is
    limited also in X#, but the limit is a bit larger)

    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a
    simple test. I wrote a function Recursion_test() which I called recursively. The function gets called 664 times and then throws
    error "Kid Stack Size Limit Exceeded". Given the fact that there
    are no additional objects instanciated and no additional
    variables initialized I expected the error would be corrected by assigning proper value to SetKidStackSize(), but this was not the
    case. It seems there is another limitation set in CAVO which I do
    not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192 Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to
    10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000 MEMORY_STACK_SIZE
    1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.




    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to Wolfgang Riedmann on Thu Jul 27 23:23:19 2023
    Wolfgang, just for fun, I tested in X# and C# console app.

    NET Framework 4.8 (x64 and x86), crashed at 15082

    I tested the console in Net Core 7.0 and 8.0 Preview and it crashed at
    23895. This result indicates that NET Core is really very efficient.


    So, even the limit is much higher in .NET, no one should be doing this.

    Gorazd, I suggest that you avoid recursive functions and instead use a
    FOR Loop and handle your requirement in a separate function. VO just
    cannot handle deep recursions!

    Jamal


    On 7/26/2023 12:07 PM, Wolfgang Riedmann wrote:
    For all that are reading here: Robert has answered that this is not
    possible to solve because the number of recursions is limited (is
    limited also in X#, but the limit is a bit larger)


    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a
    simple test. I wrote a function Recursion_test() which I called
    recursively. The function gets called 664 times and then throws
    error "Kid Stack Size Limit Exceeded". Given the fact that there
    are no additional objects instanciated and no additional
    variables initialized I expected the error would be corrected by
    assigning proper value to SetKidStackSize(), but this was not the
    case. It seems there is another limitation set in CAVO which I do
    not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192
    Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to
    10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000 MEMORY_STACK_SIZE
    1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.





    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to Jamal on Fri Jul 28 03:55:40 2023
    Jamal,
    The beauty of recursion is simplicity for solving problems when you do not know in advance how many iterations will be necessary to go through all levels of hierarchy of the given structure. I am afraid I do not know how to solve my problem with FOR or
    DO WHILE loop.
    15.000 in .NET would definitely solve my problem. Maybe writting DLL in .NET would be the way to go? The problem is that going this way I would have to migrate pretty big chunk of my code from VO to .NET.
    Gorazd
    On Friday, July 28, 2023 at 5:23:22 AM UTC+2, Jamal wrote:
    Wolfgang, just for fun, I tested in X# and C# console app.

    NET Framework 4.8 (x64 and x86), crashed at 15082

    I tested the console in Net Core 7.0 and 8.0 Preview and it crashed at 23895. This result indicates that NET Core is really very efficient.


    So, even the limit is much higher in .NET, no one should be doing this.

    Gorazd, I suggest that you avoid recursive functions and instead use a
    FOR Loop and handle your requirement in a separate function. VO just
    cannot handle deep recursions!

    Jamal
    On 7/26/2023 12:07 PM, Wolfgang Riedmann wrote:
    For all that are reading here: Robert has answered that this is not possible to solve because the number of recursions is limited (is
    limited also in X#, but the limit is a bit larger)


    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a
    simple test. I wrote a function Recursion_test() which I called
    recursively. The function gets called 664 times and then throws
    error "Kid Stack Size Limit Exceeded". Given the fact that there
    are no additional objects instanciated and no additional
    variables initialized I expected the error would be corrected by
    assigning proper value to SetKidStackSize(), but this was not the
    case. It seems there is another limitation set in CAVO which I do
    not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192
    Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to
    10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000 MEMORY_STACK_SIZE
    1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.





    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to All on Fri Jul 28 17:26:01 2023
    Gorazd,


    Check the following as a guide.

    https://www.refactoring.com/catalog/replaceRecursionWithIteration.html

    Jamal

    On 7/28/2023 6:55 AM, Gorazd Petrovič wrote:
    Jamal,
    The beauty of recursion is simplicity for solving problems when you do not know in advance how many iterations will be necessary to go through all levels of hierarchy of the given structure. I am afraid I do not know how to solve my problem with FOR or
    DO WHILE loop.
    15.000 in .NET would definitely solve my problem. Maybe writting DLL in .NET would be the way to go? The problem is that going this way I would have to migrate pretty big chunk of my code from VO to .NET.
    Gorazd
    On Friday, July 28, 2023 at 5:23:22 AM UTC+2, Jamal wrote:
    Wolfgang, just for fun, I tested in X# and C# console app.

    NET Framework 4.8 (x64 and x86), crashed at 15082

    I tested the console in Net Core 7.0 and 8.0 Preview and it crashed at
    23895. This result indicates that NET Core is really very efficient.


    So, even the limit is much higher in .NET, no one should be doing this.

    Gorazd, I suggest that you avoid recursive functions and instead use a
    FOR Loop and handle your requirement in a separate function. VO just
    cannot handle deep recursions!

    Jamal
    On 7/26/2023 12:07 PM, Wolfgang Riedmann wrote:
    For all that are reading here: Robert has answered that this is not
    possible to solve because the number of recursions is limited (is
    limited also in X#, but the limit is a bit larger)


    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size limits.

    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did a
    simple test. I wrote a function Recursion_test() which I called
    recursively. The function gets called 664 times and then throws
    error "Kid Stack Size Limit Exceeded". Given the fact that there
    are no additional objects instanciated and no additional
    variables initialized I expected the error would be corrected by
    assigning proper value to SetKidStackSize(), but this was not the
    case. It seems there is another limitation set in CAVO which I do
    not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192
    Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set to
    10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000 MEMORY_STACK_SIZE
    1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3

    As you can see none of the parameters is over the limit.





    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to All on Sat Jul 29 05:04:43 2023
    Jamal,
    thanks for the information. I will give it a try.
    Gorazd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Riedmann@21:1/5 to All on Tue Aug 1 10:41:42 2023
    Hi Gorazd,

    it is really easy to move VO code to X# and use it as COM DLL in VO.

    I'm doing similar things all the time (mostly interfaces to web
    services or databases).
    If needed, I can point you to samples and/or documentation.

    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    The beauty of recursion is simplicity for solving problems when you
    do not know in advance how many iterations will be necessary to go
    through all levels of hierarchy of the given structure. I am afraid I
    do not know how to solve my problem with FOR or DO WHILE loop.
    15.000 in .NET would definitely solve my problem. Maybe writting DLL
    in .NET would be the way to go? The problem is that going this way I
    would have to migrate pretty big chunk of my code from VO to .NET.
    Gorazd On Friday, July 28, 2023 at 5:23:22 AM UTC+2, Jamal wrote:
    Wolfgang, just for fun, I tested in X# and C# console app.

    NET Framework 4.8 (x64 and x86), crashed at 15082

    I tested the console in Net Core 7.0 and 8.0 Preview and it crashed
    at 23895. This result indicates that NET Core is really very
    efficient.


    So, even the limit is much higher in .NET, no one should be doing
    this.

    Gorazd, I suggest that you avoid recursive functions and instead
    use a FOR Loop and handle your requirement in a separate function.
    VO just cannot handle deep recursions!

    Jamal
    On 7/26/2023 12:07 PM, Wolfgang Riedmann wrote:
    For all that are reading here: Robert has answered that this is
    not possible to solve because the number of recursions is limited
    (is limited also in X#, but the limit is a bit larger)


    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size
    limits. >>>
    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did
    a >>>> simple test. I wrote a function Recursion_test() which I
    called >>>> recursively. The function gets called 664 times and
    then throws >>>> error "Kid Stack Size Limit Exceeded". Given the
    fact that there >>>> are no additional objects instanciated and no additional >>>> variables initialized I expected the error would be corrected by >>>> assigning proper value to SetKidStackSize(), but
    this was not the >>>> case. It seems there is another limitation
    set in CAVO which I do >>>> not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192
    Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set
    to >>>> 10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000
    MEMORY_STACK_SIZE >>>> 1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3 >>>>
    As you can see none of the parameters is over the limit.







    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Gorazd_Petrovi=C4=8D?=@21:1/5 to Wolfgang Riedmann on Mon Aug 7 04:30:24 2023
    Hi Wolfgang,
    Thanks for suggestion. Similary I am using .NET.
    Gorazd.
    On Tuesday, August 1, 2023 at 10:41:46 AM UTC+2, Wolfgang Riedmann wrote:
    Hi Gorazd,

    it is really easy to move VO code to X# and use it as COM DLL in VO.

    I'm doing similar things all the time (mostly interfaces to web
    services or databases).
    If needed, I can point you to samples and/or documentation.
    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    The beauty of recursion is simplicity for solving problems when you
    do not know in advance how many iterations will be necessary to go
    through all levels of hierarchy of the given structure. I am afraid I
    do not know how to solve my problem with FOR or DO WHILE loop.
    15.000 in .NET would definitely solve my problem. Maybe writting DLL
    in .NET would be the way to go? The problem is that going this way I
    would have to migrate pretty big chunk of my code from VO to .NET.
    Gorazd On Friday, July 28, 2023 at 5:23:22 AM UTC+2, Jamal wrote:
    Wolfgang, just for fun, I tested in X# and C# console app.

    NET Framework 4.8 (x64 and x86), crashed at 15082

    I tested the console in Net Core 7.0 and 8.0 Preview and it crashed
    at 23895. This result indicates that NET Core is really very
    efficient.


    So, even the limit is much higher in .NET, no one should be doing
    this.

    Gorazd, I suggest that you avoid recursive functions and instead
    use a FOR Loop and handle your requirement in a separate function.
    VO just cannot handle deep recursions!

    Jamal
    On 7/26/2023 12:07 PM, Wolfgang Riedmann wrote:
    For all that are reading here: Robert has answered that this is
    not possible to solve because the number of recursions is limited
    (is limited also in X#, but the limit is a bit larger)


    Wolfgang

    Gorazd Petrovič wrote:

    Jamal,
    thanks for your effort. I will do as you suggested.
    Gorazd
    On Monday, July 24, 2023 at 8:30:26 PM UTC+2, Jamal wrote:
    I see the same issue. I suggest your post your question to the
    forum at https://www.xsharp.eu/forum

    Robert may be able to shed some light on the stack kid size
    limits. >>>
    Jamal
    On 7/19/2023 4:14 AM, Gorazd Petrovič wrote:
    Please help, since I am totaly stuck with the following. Any
    suggestion from the VO gurus would be appreciated!

    So, having problem with "Kid Stack Size Limit Exceeded" I did
    a >>>> simple test. I wrote a function Recursion_test() which I
    called >>>> recursively. The function gets called 664 times and
    then throws >>>> error "Kid Stack Size Limit Exceeded". Given the
    fact that there >>>> are no additional objects instanciated and no additional >>>> variables initialized I expected the error would be corrected by >>>> assigning proper value to SetKidStackSize(), but
    this was not the >>>> case. It seems there is another limitation
    set in CAVO which I do >>>> not know how to remove.

    This is the function:
    FUNCTION Recursion_test(nLevel)
    Default(@nLevel,1)
    nLevel:=nLevel+1
    Recursion_test(nLevel)
    RETURN

    And these are values when error occurs:
    Memory(MEMORY_STACKKID) 678, SetKidStackSize(0) is set to 8192
    Memory(MEMORY_REGISTERKID) 65, SetMaxRegisteredKids(0) is set
    to >>>> 10000 Memory(MEMORY_REGISTERAXIT) 222,
    SetMaxRegisteredAxitMethods(0) is set to 64000
    MEMORY_STACK_SIZE >>>> 1069056, MEMORY_STACK_FREE 1035688 MEMORY_REGISTEREXIT_COUNT 3 >>>>
    As you can see none of the parameters is over the limit.




    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)