Out of memory error kills opera
I'm using a PIII 400MHz with 192MB of RAM and 256MB swap and every 10 to 20 minutes Opera (or sometimes other programs) just closes all of a sudden. I checked /var/log/syslog and found this:
Code:
Feb 7 19:28:39 default kernel: Out of Memory: Killed process 3803 (opera). |
I was doing some searching on other forums and found something else that may be pertinent. When I ran top I found that my swap wasn't being used at all. It was all cached. Here is what it shows:
Code:
Mem: 191708k av, 187308k used, 4400k free, 0k shrd, 2700k buff |
ok you say you have a 256MB swap, but according to top its not on ...
if it was activated the line that states : Swap: 0k av, should actually read : Swap: 262144k av, or something similiar .. so this could be partial if not all your problem (possibly?) i still don't undertand though, just cause according to your info you have approx 117MB of ram unused ... |
First, how do I activate the swap partition? Second, I think that the problem is that when I start a new program the available RAM gets used up by the new program and then Linux kills Opera. So, what I'm trying to say is, although not a necessarily high percentage of RAM is being used right now, it does jump up at certain times and overruns what is available.
|
well the command is :
/sbin/swapon <swap device> (without the <> ) but i have no idea what your swap device is, and only you can figure that out .. check your /etc/fstab file to see if its even listed in there, and if so then you will see the device you designated for it ... in my case /dev/hda2 ... when your experiencing problems, or start to for that matter ... run top and see if you can see anything out of the ordinary ... |
Okay, I found that my swap was also hda2 and so I ran
Code:
swapon /dev/hda2 Code:
Mem: 191708k av, 185852k used, 5856k free, 0k shrd, 2688k buff 84348k active, 89984k inactive |
no problem, hopefully it works out for ya :D
|
All times are GMT -5. The time now is 01:12 PM. |