1. Michael Kramer
  2. PowerBuilder
  3. Wednesday, 6 May 2020 17:52 PM UTC

Hi All,

I discovered this code snippet in old code someone else wrote ages ago.

GarbageCollectSetTimeLimit( 0 )
GarbageCollect( )

Why set minimum time limit to zero?
Is there a behind-the-scenes effect I cannot read from F1-Help?

Did it have special effect when code runs on EAServer?
(I know, long time ago - but as I stated - I'm trying to grasp deeper meaning of some old code.

Thanks in advance!
/Michael

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 May 2020 18:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Michael;

  FWIW: Using the GarbageCollectSetTimeLimit() command ahead of a GarbageCollect() command makes no sense t me. Same for the value Zero.

Regards ... Chris

Comment
  1. Michael Kramer
  2. Wednesday, 6 May 2020 21:34 PM UTC
Thx, Chris - I feel the same. Asking around just to be sure.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.