Bigfoot Linux
I’ve got a Core 2 Duo with 3GB of memory running Ubuntu 64 bit and it can barely handle 3 or 4 applications I use for everyday development work.
Both memory usage and CPU load are annoyingly high. Firefox has about 5-10 open tabs and needs restarting every day or so unless it crashes unexpectedly.
I typically need to close an application to start another if I don’t want the disk to start trashing around indefinitely.
Can anyone explain why on earth does a browser need 1.7GB of virtual memory to run 10 tabs and why does a code editor need 1.2GB to keep 10 files in memory? Is this anything less than utterly ridiculous?
Here is a slightly edited output from top:
VIRT RES SHR %CPU %MEM COMMAND 1719m 736m 33m 29 24.6 firefox 1247m 514m 14m 0 17.2 netbeans 483m 67m 9508 5 2.3 Xorg 301m 48m 3700 0 1.6 apache2 301m 45m 4500 0 1.5 apache2 316m 39m 4496 0 1.3 apache2
Winpdb - A Platform Independent Python Debugger
I agree. Firefox is a beast. Perhaps you can try Midori and use vi or emacs instead of netbeans. =) I’m not surprised it is a ridiculous memory hog. Never been impressed with Netbeans.
Ill take a look at Midori.
I use Netbeans for PHP development and Vim for all the rest. Netbeans is excellent for PHP - try it.
You should try Chrome and Windows XP. Nice and reliable, fast and lightweight, in comparison to what you’re running. A copy of Msys and Console 2 and you can pretend it’s a Linux box.
That’s the exact reason why I switch to Ubuntu and back in just two days. You should definitely use Windows as firefox runs a lot faster, 60 tabs with only 600MB total memory.
There is one (and only one) good thing about Ubuntu: Great for getting beginners off of the M$ bandwagon and onto Linux. Period.
Many other Linux platforms out there will run Firefox as many other apps simultaneously in under half a gig (32bit - can’t speak to 64 as I’m still fairly new to all this my self.)
After burning and running lots of live CD/DVDs, I’ve settled on Fedora [small footprint, high security]!! Not so good for beginners, though.
Same for chrome (both Chrome binaries provided by google and chromium) - high memory foot print and JS memory leaks - I leave computer running several google docs and gmail for a weekend without anybody touching it and on Sunday there is no free memory at all.
Most of that ‘memory usage’ is off on swap and will never be in physical memory. When C code malloc’s space that space is reserved but until it is written into it is not physically present. Similarly with memory mapped files that grab enough memory space to hold the whole file but do not actually read into physical memory all the files simultaneously. Make sure your swap partition is twice the size of your physical memory.
I never would use Ubuntu. I have a P4 with hyper-threading and 2Gb ram and I can run GIMP, with multiple images, firefox, thunderbird and xine all at once no problem on Slackware with Window Maker.