On Mac, you want to find the Eclipse executable, then right click and do Show Package Contents, then go into the MacOSX folder and somewhere in there, there should be an eclipse.ini file, you can adjust this file with the specified arguments (it is probably the permGen space you are running low on).
Also I’m trying to recall this from memory, sorry for the fuzziness.