On 09/19/10 18:08, Alan McKinnon wrote: >> Firefox 4 indeed is smoother (probably due to the new animations, >> probably because none of the plugins I used are compatible yet, but >> maybe it is just faster); but it is definitely more memory hungrier than >> before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's >> with opening a bunch lot of pages; Fx4 generally takes around ~25-30%. >> >> While taking 30% of my RAM is fine when I'm not multitasking, the main >> problem is I am always multitasking. With Thunderbird taking another >> 15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is >> becoming unbearably slow when memory starved. >> >> I've been thinking about adding -Os (optimize-size) to my CFLAGS, does >> anyone knows if doing that will possibly bring down memory usage and >> speed up the computer? > > No it will not. > > It's the size of the binary code image that is reduced, you may find that the > firefox *code* in memory is smaller too. But it will do nothing for the data > structures firefox creates to do it's job.
Makes sense, I just realized how stupid a thought it was...