Eclipse out of memory error

For the error: OutOfMemoryError: PermGen space

 in eclipse see the answer..

Edit the file eclipse.ini and in THE LAST LINE add

 

-XX:MaxPermSize=256m

then the max perm size limit IS set to 256 MB.

See the eclipse bug: Wrong eclipse.ini configuration for PermGen size