LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2004, 07:23 PM   #1
resnak
LQ Newbie
 
Registered: Nov 2003
Location: New York
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
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). 
Feb  7 19:28:39 default kernel: Out of Memory: Killed process 3807 (opera). 
Feb  7 19:33:28 default kernel: Out of Memory: Killed process 4009 (opera). 
Feb  7 19:33:28 default kernel: Out of Memory: Killed process 4020 (opera).
What I'm wondering is if I can just increase the swap space and fix the problem, if the only way is to get more RAM, or if something else altogether is the problem. If anyone has any suggestions on something that I can do to fix this it would be greatly appreciated.
 
Old 02-07-2004, 08:03 PM   #2
resnak
LQ Newbie
 
Registered: Nov 2003
Location: New York
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
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
        84220k active,              91920k inactive
Swap:       0k av,       0k used,       0k free                   28628k cached
hopefully this helps
 
Old 02-07-2004, 08:16 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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 ...

Last edited by DrOzz; 02-07-2004 at 08:17 PM.
 
Old 02-07-2004, 08:24 PM   #4
resnak
LQ Newbie
 
Registered: Nov 2003
Location: New York
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 02-07-2004, 08:33 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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 ...
 
Old 02-07-2004, 08:49 PM   #6
resnak
LQ Newbie
 
Registered: Nov 2003
Location: New York
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Okay, I found that my swap was also hda2 and so I ran
Code:
swapon /dev/hda2
and now the ouput of top is:
Code:
Mem:   191708k av,  185852k used,    5856k free,       0k shrd,    2688k buff         84348k active,              89984k inactive 
Swap:  257032k av,       0k used,  257032k free                   26576k cached
Hopefully this will fix my problem. Thank you very much for your help.
 
Old 02-07-2004, 08:53 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
no problem, hopefully it works out for ya
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera and an error about motif AlexMax Debian 2 11-11-2005 09:02 PM
Opera Generic Error Maurice Arthur Mandriva 2 11-28-2004 11:34 PM
opera error message killing me timsch75 Linux - General 3 07-31-2004 07:42 PM
Error trying to run Opera after RPM installation timsch75 Linux - Newbie 5 03-04-2004 08:45 AM
opera 6.11 error loading libqt.so.3 pixelV Linux - Software 2 03-01-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration