Originally created by Terence Kent.
Each call to Browser.driver(Closure script) leaks a small amount of PermGen memory. The leak appears to be caused by creating a new geb.Configuration object every time.
Steps to reproduce:
(I've also attached a tiny program to demonstrate the issue)
The work around is to not use Browser.drive(Closure script) and instead use one of the other other Browser.drive methods that result in a cached Configuration object being used.
This bug will prevent long-running applications from relying on Geb for regular tasks, without discovering/working around this issue. This is more difficult than it sounds since the Book of Geb almost exclusively uses examples with Browser.drive(Closure script) and you won't discover the issue after the program has been running for some time.