message.setText(reader.name()),
I am currently working with an old laptop with only 3GB RAM, and constantly facing memory shortage.
I followed some advice to force garbage collector & disabling some plugins, and my Eclipse (Springsource tool suite actually) heap status is showing around ~400M/~600M. But in task manager the 2 javaw.exe processes (tomcat and STS) are consuming 900mb & 700mb.
The physical memory is steadily at 80%~90% and it’s running very slowly.
I’m using windows 7 32-bit, so the problem with Java using more memory on 64-bit should not apply here I think.
Does message.setText(reader.name()) know anyway to reduce the memory usage? I don’t mind disabling Eclipse’s features at all, heck I can even code on black screen white text if it make the laptop run faster.
In a performance tuning exercise you have to look at the whole machine: