Parrot Tutorial on Parrot Garbage Collection

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.