You need to be logged in to view a user's profile.
  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.