Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The earth is like a tiny grain of sand, only much, much heavier.


devel / comp.lang.clipper.visual-objects / Kid Stack Size Limit Exceeded

SubjectAuthor
* Kid Stack Size Limit ExceededGorazd Petrovič
+* Re: Kid Stack Size Limit ExceededDeckard42
|`- Re: Kid Stack Size Limit ExceededGorazd Petrovič
`* Re: Kid Stack Size Limit ExceededJamal
 `* Re: Kid Stack Size Limit ExceededGorazd Petrovič
  `* Re: Kid Stack Size Limit ExceededWolfgang Riedmann
   `* Re: Kid Stack Size Limit ExceededJamal
    `* Re: Kid Stack Size Limit ExceededGorazd Petrovič
     +* Re: Kid Stack Size Limit ExceededJamal
     |`- Re: Kid Stack Size Limit ExceededGorazd Petrovič
     `* Re: Kid Stack Size Limit ExceededWolfgang Riedmann
      `- Re: Kid Stack Size Limit ExceededGorazd Petrovič

1
Kid Stack Size Limit Exceeded

<5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1363&group=comp.lang.clipper.visual-objects#1363

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:452:b0:404:132c:e7da with SMTP id o18-20020a05622a045200b00404132ce7damr11358qtx.5.1689754474013; Wed, 19 Jul 2023 01:14:34 -0700 (PDT)
X-Received: by 2002:a4a:2c53:0:b0:565:d44c:507b with SMTP id o80-20020a4a2c53000000b00565d44c507bmr8852864ooo.0.1689754473683; Wed, 19 Jul 2023 01:14:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.14.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 19 Jul 2023 01:14:33 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=89.212.150.131; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 89.212.150.131
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
Subject: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Wed, 19 Jul 2023 08:14:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: Gorazd Petrovič - Wed, 19 Jul 2023 08:14 UTC

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.

Re: Kid Stack Size Limit Exceeded

<6c21fd23-27ba-441d-8434-ffb0085e9e8fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1365&group=comp.lang.clipper.visual-objects#1365

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:6214:18ec:b0:635:ea4a:29b5 with SMTP id ep12-20020a05621418ec00b00635ea4a29b5mr99797qvb.7.1689769898167;
Wed, 19 Jul 2023 05:31:38 -0700 (PDT)
X-Received: by 2002:a05:6808:208a:b0:3a4:1e93:8984 with SMTP id
s10-20020a056808208a00b003a41e938984mr28959062oiw.1.1689769897818; Wed, 19
Jul 2023 05:31:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 19 Jul 2023 05:31:37 -0700 (PDT)
In-Reply-To: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.198.218.101; posting-account=m8xH4AoAAABTKnag8XLj0f0wu2Egq4Uk
NNTP-Posting-Host: 82.198.218.101
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c21fd23-27ba-441d-8434-ffb0085e9e8fn@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: deckard42@gmail.com (Deckard42)
Injection-Date: Wed, 19 Jul 2023 12:31:38 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1217
 by: Deckard42 - Wed, 19 Jul 2023 12:31 UTC

have you tried increasing the value of Project settings/Linker/Stack size?

Re: Kid Stack Size Limit Exceeded

<acab72ef-a075-454b-85a7-9f4bac2b5eeen@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1369&group=comp.lang.clipper.visual-objects#1369

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:620a:e0d:b0:765:942d:b19 with SMTP id y13-20020a05620a0e0d00b00765942d0b19mr3827qkm.13.1689938807302;
Fri, 21 Jul 2023 04:26:47 -0700 (PDT)
X-Received: by 2002:a05:6870:98b4:b0:1b0:2d25:f5ab with SMTP id
eg52-20020a05687098b400b001b02d25f5abmr2812174oab.0.1689938806889; Fri, 21
Jul 2023 04:26:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 21 Jul 2023 04:26:46 -0700 (PDT)
In-Reply-To: <6c21fd23-27ba-441d-8434-ffb0085e9e8fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=89.212.150.131; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 89.212.150.131
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com> <6c21fd23-27ba-441d-8434-ffb0085e9e8fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <acab72ef-a075-454b-85a7-9f4bac2b5eeen@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Fri, 21 Jul 2023 11:26:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Gorazd Petrovič - Fri, 21 Jul 2023 11:26 UTC

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?

Re: Kid Stack Size Limit Exceeded

<u9mfvv$oojc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1371&group=comp.lang.clipper.visual-objects#1371

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vodotnet@gmail.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Kid Stack Size Limit Exceeded
Date: Mon, 24 Jul 2023 14:30:23 -0400
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <u9mfvv$oojc$1@dont-email.me>
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Jul 2023 18:30:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a03eeeb0d33aaedd332cb49e6cd805ed";
logging-data="811628"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fQdoDqDQZ8xROh9zvDN+fYboNWFB9anU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:wdpN5zUd7R3kDXAf9/c38HPqTKM=
In-Reply-To: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
Content-Language: en-US
 by: Jamal - Mon, 24 Jul 2023 18:30 UTC

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.
>

Re: Kid Stack Size Limit Exceeded

<7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1372&group=comp.lang.clipper.visual-objects#1372

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ad4:590a:0:b0:63d:30b8:ff8a with SMTP id ez10-20020ad4590a000000b0063d30b8ff8amr883qvb.1.1690365127704;
Wed, 26 Jul 2023 02:52:07 -0700 (PDT)
X-Received: by 2002:a05:6870:1a90:b0:1bb:5605:df92 with SMTP id
ef16-20020a0568701a9000b001bb5605df92mr2827699oab.10.1690365127355; Wed, 26
Jul 2023 02:52:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 26 Jul 2023 02:52:06 -0700 (PDT)
In-Reply-To: <u9mfvv$oojc$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=188.230.129.40; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 188.230.129.40
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com> <u9mfvv$oojc$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Wed, 26 Jul 2023 09:52:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2971
 by: Gorazd Petrovič - Wed, 26 Jul 2023 09:52 UTC

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.
> >

Re: Kid Stack Size Limit Exceeded

<kicumtF1j95U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1374&group=comp.lang.clipper.visual-objects#1374

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: wriedmann@gmail.com (Wolfgang Riedmann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Kid Stack Size Limit Exceeded
Date: Wed, 26 Jul 2023 18:07:57 +0200
Lines: 53
Message-ID: <kicumtF1j95U1@mid.individual.net>
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com> <u9mfvv$oojc$1@dont-email.me> <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ymrtl3uDOsbpnR8m5/aNvAYtpGcwsF1ujoTLF7tTuqpkQLU3U=
Cancel-Lock: sha1:w49Qm8AkzECULdErlas24cdwP3g= sha256:YOkO87gbFvToNCnxLaeLVV030NZOxEGLcajEZjfsFNY=
User-Agent: XanaNews/1.18.1.6
 by: Wolfgang Riedmann - Wed, 26 Jul 2023 16:07 UTC

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.
> > >

--

Re: Kid Stack Size Limit Exceeded

<u9vcb8$25gd4$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1375&group=comp.lang.clipper.visual-objects#1375

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vodotnet@gmail.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Kid Stack Size Limit Exceeded
Date: Thu, 27 Jul 2023 23:23:19 -0400
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <u9vcb8$25gd4$1@dont-email.me>
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
<u9mfvv$oojc$1@dont-email.me>
<7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
<kicumtF1j95U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Jul 2023 03:23:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0993d370f08d7828d2a0d4cb6ce2aada";
logging-data="2277796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xWYe0nNDwl3Bk+L4pgwQKqEKDFyW1y7E="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:+yzpgW0xb/8kzXby8a9uFAGb26w=
Content-Language: en-US
In-Reply-To: <kicumtF1j95U1@mid.individual.net>
 by: Jamal - Fri, 28 Jul 2023 03:23 UTC

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.
>>>>
>
>
>

Re: Kid Stack Size Limit Exceeded

<769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1376&group=comp.lang.clipper.visual-objects#1376

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ad4:4eaa:0:b0:635:e500:8dc7 with SMTP id ed10-20020ad44eaa000000b00635e5008dc7mr17867qvb.4.1690541741002;
Fri, 28 Jul 2023 03:55:41 -0700 (PDT)
X-Received: by 2002:aca:1219:0:b0:3a4:1484:b3db with SMTP id
25-20020aca1219000000b003a41484b3dbmr9790915ois.5.1690541740490; Fri, 28 Jul
2023 03:55:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 28 Jul 2023 03:55:40 -0700 (PDT)
In-Reply-To: <u9vcb8$25gd4$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=188.230.129.22; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 188.230.129.22
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
<u9mfvv$oojc$1@dont-email.me> <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
<kicumtF1j95U1@mid.individual.net> <u9vcb8$25gd4$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Fri, 28 Jul 2023 10:55:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Gorazd Petrovič - Fri, 28 Jul 2023 10:55 UTC

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.
> >>>>
> >
> >
> >

Re: Kid Stack Size Limit Exceeded

<ua1bp9$2b75d$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1378&group=comp.lang.clipper.visual-objects#1378

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vodotnet@gmail.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Kid Stack Size Limit Exceeded
Date: Fri, 28 Jul 2023 17:26:01 -0400
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <ua1bp9$2b75d$1@dont-email.me>
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
<u9mfvv$oojc$1@dont-email.me>
<7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
<kicumtF1j95U1@mid.individual.net> <u9vcb8$25gd4$1@dont-email.me>
<769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Jul 2023 21:26:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0993d370f08d7828d2a0d4cb6ce2aada";
logging-data="2464941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c2gNK2EkX0FKC4xe2JSi4Nu+FtdnlaJE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:w+OYUt7oOVhlurmqn2nRQUYp9fU=
Content-Language: en-US
In-Reply-To: <769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com>
 by: Jamal - Fri, 28 Jul 2023 21:26 UTC

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.
>>>>>>
>>>
>>>
>>>

Re: Kid Stack Size Limit Exceeded

<83483ea0-ea6b-4839-aaa5-be817f1a09afn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1380&group=comp.lang.clipper.visual-objects#1380

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1a01:b0:403:b55e:d4b2 with SMTP id f1-20020a05622a1a0100b00403b55ed4b2mr14762qtb.9.1690632284183;
Sat, 29 Jul 2023 05:04:44 -0700 (PDT)
X-Received: by 2002:a05:6808:20aa:b0:3a5:a925:80a0 with SMTP id
s42-20020a05680820aa00b003a5a92580a0mr9683088oiw.2.1690632283961; Sat, 29 Jul
2023 05:04:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Sat, 29 Jul 2023 05:04:43 -0700 (PDT)
In-Reply-To: <ua1bp9$2b75d$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=188.230.129.41; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 188.230.129.41
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
<u9mfvv$oojc$1@dont-email.me> <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
<kicumtF1j95U1@mid.individual.net> <u9vcb8$25gd4$1@dont-email.me>
<769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com> <ua1bp9$2b75d$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <83483ea0-ea6b-4839-aaa5-be817f1a09afn@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Sat, 29 Jul 2023 12:04:44 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1453
 by: Gorazd Petrovič - Sat, 29 Jul 2023 12:04 UTC

Jamal,
thanks for the information. I will give it a try.
Gorazd

Re: Kid Stack Size Limit Exceeded

<kiruq6Fff5iU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1384&group=comp.lang.clipper.visual-objects#1384

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: wriedmann@gmail.com (Wolfgang Riedmann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Kid Stack Size Limit Exceeded
Date: Tue, 1 Aug 2023 10:41:42 +0200
Lines: 96
Message-ID: <kiruq6Fff5iU1@mid.individual.net>
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com> <u9mfvv$oojc$1@dont-email.me> <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com> <kicumtF1j95U1@mid.individual.net> <u9vcb8$25gd4$1@dont-email.me> <769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net BvpcBhdbybunhEjTwem8XQu1XvELEpXircjdqeRMxVuNH2fLY=
Cancel-Lock: sha1:WbjGE591bC8kj1tdp/dpXXLPHfs= sha256:oMJPuyC2mT4tHfiE6KPm139JWtb1HgE89zB21oShJfo=
User-Agent: XanaNews/1.18.1.6
 by: Wolfgang Riedmann - Tue, 1 Aug 2023 08:41 UTC

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.
> > >>>>
> > >
> > >
> > >

--

Re: Kid Stack Size Limit Exceeded

<7ebe772f-1db5-4dc8-a797-17330606e72cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1392&group=comp.lang.clipper.visual-objects#1392

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:7f03:0:b0:401:dfc4:6f8f with SMTP id f3-20020ac87f03000000b00401dfc46f8fmr30495qtk.13.1691407825558;
Mon, 07 Aug 2023 04:30:25 -0700 (PDT)
X-Received: by 2002:a05:6808:f02:b0:3a7:8398:482f with SMTP id
m2-20020a0568080f0200b003a78398482fmr13647867oiw.6.1691407825147; Mon, 07 Aug
2023 04:30:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Mon, 7 Aug 2023 04:30:24 -0700 (PDT)
In-Reply-To: <kiruq6Fff5iU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=188.230.129.163; posting-account=L5SY7AoAAAAugrfaSpEyi1pJiVJZpjAo
NNTP-Posting-Host: 188.230.129.163
References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com>
<u9mfvv$oojc$1@dont-email.me> <7949071d-2a2c-4a70-8ced-b88ae773699cn@googlegroups.com>
<kicumtF1j95U1@mid.individual.net> <u9vcb8$25gd4$1@dont-email.me>
<769a9ea7-8c1f-4d2f-8046-ca23a8de049dn@googlegroups.com> <kiruq6Fff5iU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7ebe772f-1db5-4dc8-a797-17330606e72cn@googlegroups.com>
Subject: Re: Kid Stack Size Limit Exceeded
From: grzd.petrovic@gmail.com (Gorazd Petrovič)
Injection-Date: Mon, 07 Aug 2023 11:30:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5767
 by: Gorazd Petrovič - Mon, 7 Aug 2023 11:30 UTC

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.
> > > >>>>
> > > >
> > > >
> > > >
> --

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor