EY interview question

How will you implement garbage collection in a language that doesn't support garbage collection?