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


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

Re: errore limit execeeded

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: errore limit execeeded
Date 2021-09-22 08:30 +0200
Message-ID <ir00suF32a5U1@mid.individual.net> (permalink)
References <92a4ca6c-102e-4d23-9380-3d510861919cn@googlegroups.com>

Show all headers | View raw


Buon giorno Aurora,

"kid stack limit exceeded" means that you have created to many objects.

Many objects are registered with the RegisterKid() function to be
retained even after a garbage collection (please see the RegisterKid()
help for a better explanation of this).

And, like any other list, also the list of registered kids has a limit,
and you are exceeding that.

And, as Jamal wrote, normally (at least in my applications) this is
occurring only when I have an endless loop (a function or method
calling itself).
Before this error is showing up, you should see that your application
becomes slow and is taking up an entire processore core ressources
(depending on your PC, the task manager should show a 20% or 25% or
even 50% CPU allocation of your application).

In my code, this is occurring when I have code like this:

method xxx() class Pippo

   ....
   self:xxx()
   ....

   return nil

To be honest, I have that 2 to 3 times a month, mostly when I split up
classes, and forget to change the self:xxx() to a super:xxx().

Another possibility is that you are reacting on an event, and your code
triggers that event again.

Wolfgang


aurora baccio wrote:

> Good evening to all
> what does this error mean that appears during the execution of the
> application ?  limit exceeded
> kid stack size limit exceeded
> PatientWithoutRecipeMask:Choice_Ok line 35
>  this is line 35
> FabCenterWindow(oChoice)
>  where oChoice is the reference Mask to recall.
> This error does not appear in VOERROR. log and finally I was able to
> reconstruct it, but it appears in other parts of the application.  as
> always thanks to all.  Aurora Baccio



-- 

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


Thread

errore limit execeeded aurora baccio <aurorabaccio@gmail.com> - 2021-09-21 08:52 -0700
  Re: errore limit execeeded Franz Rachbauer <office@rachbauer.org> - 2021-09-21 18:33 +0200
    Re: errore limit execeeded aurora baccio <aurorabaccio@gmail.com> - 2021-09-21 10:12 -0700
      Re: errore limit execeeded Jamal <nospam@example.com> - 2021-09-21 18:28 -0400
  Re: errore limit execeeded "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-09-22 08:30 +0200

csiph-web