SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am having a problem with an app that keeps failing saying that there aren`t enough resources. i assumed it was a memory problem so
i ran top to check on the system ...how on earth may i be using this amount of memory? any ideas on what the prob is? I am running kde, cause it`s @ work, but if i find no solution, i am moving my jwm configs to work too.
KDE is using all your memory. What do you have in there 512? KDE typically on my systems when I used it ate up around 450MB alone with a browser open. Try Fluxbox or some other lighter WM, its much better anyways....imho
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Linux and memory ... funny thing . Point is, if memory is there, the system will use it and not free it until requested otherwise. Meaning fast re-use of valid and still residing data is always possible. You can see that in the value of "cached" memory, i.e. in your system more than half of your RAM holds data "just in case". You can see that also regarding your 2 GB swap, of which a mere 12 kB are used.
In summary: I don't think it is a memory problem here and now.
What is your application? If it needs huge amounts of storage it might either be during allocation in the RAM or on the hard disk. Some more info needed...
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally Posted by lord-fu
KDE is using all your memory. ...
Huh? How did you figure that one? Only 9.6 % of his total memory is used according to top, look at the numbers in the %MEM column and I don't see kdeinit at all...
Huh? How did you figure that one? Only 9.6 % of his total memory is used according to top, look at the numbers in the %MEM column and I don't see kdeinit at all...
The program is a small module from GRASS. I have used it before and never had such problem, only today...
I have started with init 3 and the result is a bit better
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 505
Current serial number in output stream: 513
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 505
Current serial number in output stream: 513
Do you have 8, 16, or 32 bit color depth? You could try other values. For example:
The 'free' column in the 'Mem' row should be the actual amount of free memory in your system. Check out the man page if you want to find out more, or search on LQ.
Ya,
me too when I was using KDE,
it was easting up almost all of my memory.
I too have only 512 mb of ram in my
box.So now I'm using fluxbox and it's
only using less than 70 mb of ram while
idling.I'm still trying to get used to
fluxbox but at least my pc is light on memory!
Oh if you need to still use KDE then my advise
would be to make a swap partition least 1 gig
big.That way when your pc needs more memory it just uses the swap.
So you re-configured X? Do you still have your old xorg.conf? If so, try to use that...
No, i am using the same configuration, just changed the version of xorg, but the problem remains.
Are my config values causing the problem? I am using the i810 driver, but my chipset is i815.
I suggest you all chill! There is no way for KDE to use 512MB of RAM. In fact it hardly gets over 256MB unless you are doing sth serious. The original poster didn't give enough details of the memory usage. Most of the RAM is probably innocent disk cache. It could be some incompatibility between different X versions. Does your app list a specific X version to work properly?
It could be some incompatibility between different X versions. Does your app list a specific X version to work properly?
I don`t think so, because i am getting a similar error with xorg 7.2. And it`s not depth related i guess.
GRASS mentions nothing about x versions...
Again
Code:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 502
Current serial number in output stream: 512
It`s not memory related, the first post of "top" shows the cached memory i think.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.