Parrot - Garbage Collection


Advertisements

Like Java Virtual Machine, Parrot also keep you free from worrying about memory de-allocation.

  • Parrot provides garbage collection.

  • Parrot programs do not need to free memory explicitly.

  • Allocated memory will be freed when it is no longer in use i.e. no longer referenced.

  • Parrot Garbage Collector runs periodically to take care of unwanted memory.

Advertisements