Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "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: References: <5938a7a7-256c-4055-8ae3-038e6d601d77n@googlegroups.com> <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 Xref: csiph.com comp.lang.clipper.visual-objects:13876 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. > > > --