Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13858

Re: KidStack size

From Jamal <vodotnet@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: KidStack size
Date 2023-07-07 01:06 -0400
Organization A noiseless patient Spider
Message-ID <u886ft$17p2k$1@dont-email.me> (permalink)
References <1192008035.766055.117120@k79g2000hse.googlegroups.com> <f650bb85-2960-46cf-b176-d67d47108818n@googlegroups.com>

Show all headers | View raw


Try the following in your program's Start method:

SetMaxRegisteredKids( 100000 )  // default 16000
SetMaxRegisteredAxitMethods( 100000 )

Do the above solve your problem?

Jamal


On 7/6/2023 4:27 AM, Gorazd Petrovič wrote:
> Peter hi,
> 
> I know it has been a very long since, but maybe you still remember.
> I have the same Kidstack limit problem: while I am calling function recursively, it throws error at practically the same number of calls 663 and with almost the same MEMORY_STACKKID value 674.
> 
> Do you maybe rememer how you solved your problem?
> 
> Best regards, Gorazd
> 
> On Wednesday, October 10, 2007 at 11:20:35 AM UTC+2, Peter Gargos wrote:
>> Hi all,
>> I have my own quick sort routine with recursive calls.
>> Sorting 1000 or higher items cause "Kid stack size limit exceeded".
>> Routine crash afther 665 self calls, MEMORY_STACKKID show 675.
>> SetKidStackSize has no any effect. I you set StackSize to 16MB
>> ( default is 8kB ),
>> before crash KidStackFree func report 16769116 bytes free !!.
>> Where is problem ? ( VO28+SP1 )
>> Thanks,
>> Peter Gargos
>> Softcomp Technology

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: KidStack size Gorazd Petrovič <grzd.petrovic@gmail.com> - 2023-07-06 01:27 -0700
  Re: KidStack size Jamal <vodotnet@gmail.com> - 2023-07-07 01:06 -0400
    Re: KidStack size Gorazd Petrovič <grzd.petrovic@gmail.com> - 2023-07-07 01:02 -0700
      Re: KidStack size Jamal <vodotnet@gmail.com> - 2023-07-07 15:18 -0400
        Re: KidStack size Gorazd Petrovič <grzd.petrovic@gmail.com> - 2023-07-08 11:33 -0700
          Re: KidStack size Pete <pgargos@atlas.cz> - 2023-07-18 11:30 -0700
            Re: KidStack size Gorazd Petrovič <grzd.petrovic@gmail.com> - 2023-07-19 01:19 -0700

csiph-web