News Forums RAIN General Discussion and Troubleshooting Consistent Check in Detect Efeffecting Garbage Collections

This topic contains 1 reply, has 2 voices, and was last updated by  Sigil 6 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #39879

    aqib sadiq

    i am using a behaviour tree with a detect node in it.

    and on that detect node their is a field called “Consistent” as shown in Image below.

    When that Consistent Check is set to true i am getting 36 Kbs garbage Collection but if it is unchecked than i am getting 6 kbs Garbage Collection.

    I want to know what that Consistent Check is and Why it is effecting garbage Collection



    The Consistent option is to tell the detect node to hold on to the last detected object as long as it stays detected, even if another object is a better choice.

    The garbage collection you are seeing is due to a problem in our SensorManager. Well not so much problem, more that it wasn’t as optimized as it could be.

    This is all fixed in the next release of RAIN. We went through and cleaned up all of our sensors to reduce garbage collection and make the code side a bit clearer.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.