Autodeploying multiple times causes OutOfMemoryError in PermGen