Flash Builder java heap errors, limitations of -Xms and -Xmx

As the reason for most of these posts to come out, there’s been something that I’ve been fighting with for a very long time now.  Flash Builder performance.  It’s always been sluggish and quite frankly it’s a huge memory hog.  Eventually I came across posts about how to increase the heap size of the java virtual machine that Flash Builder uses via adding -Xms and -Xmx switches with the appropriate values afterwards.  But after a while Flash Builder will crash out with java heap errors, which directs me, yet once again, to go back and adjust those flags in the FlashBuilder.ini file. So how can I get this program to behave better? The trick brought back memories of the days when 64 bit processors where first introduced.

Continue reading