I've found that the generated scanner leaks memory.
Right now I'm looking for those leaks.
You can see it by just allocating a Scanner object