The problem is that the minimum Java heap for Eclipse, by default, is 40MB and the maximum allowable size was 512MB. You can imagine that this will be depleted quickly. To Eclipses benefit, it doesn't actually crash. It just fails to load the source file (or *file), stops loading, complains to the user by throwing an OutOfMemory error, and tries again. If you're using OS X 10.6+, the simple fix is to modify -Xms and -Xmx in the eclipse.ini file. This is found here /opt/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini or wherever you placed Eclipse (e.g., common placement is /Applications or ~/).
Before closing out this short post, lets try something new. I wonder if hyperlinks to the filesystem will work. This is for OS X users that are interested ONLY: file:///Users/Shared/. Ok, it doesn't. I am allowed to publish the link but the browser will not resolve it. Interesting!
No comments:
Post a Comment