Let's check what Wikipedia says about memory leaks:many people refer to any unwanted increase in memory usage as a memory leak, even if this is not strictly accurateandTypically, a memory leak occurs because dynamically allocated memory has become unreachable.The later cannot happen in languages such as Java that have built-in automatic garbage collection, also Ruby does not seem to be bug fre