The permanent generation is used to store class objects and related meta data,
-XX:PermSize=256m -XX:MaxPermSize=256m If the problem still persist,then its better to do a profiling and see what is the class which are making too many objects and why.
Thanks,
Ruchir