Discussion in 'OT Technology' started by Izze, Feb 14, 2008.
I neeeeed to find a way to do this!
renice command, google it
There is a GUI called renicer
could this be done to Safari so it doesn't eat up all my RAM?
No really. Safari is gonna eat all your RAM regardless.
Do you know where this can be found? I looked around G but I couldn't find anything.
I did the renice command line ('sudo renice 20 -p 1234'), but it didn't seem to even touch it Maybe I will have better luck with the GUI version?
Any other suggestions/methods would be appreciated
All the GUI does is write the command line for you. If you followed the instructions, then you did it right but it can't control Safari.
Try using Opera, if it runs on OSX.
^ How come it cannot control Safari?
No idea, but if it didn't work, then it didn't work. Just stating the obvious.
It seems this renice just sets the priority to low, but if it is the only thing actively running at the time, priority doesn't seem to come into play and the program takes up all the resources like normal.
I need something to where I can set it by percentage, or something of that manner.
I don't believe there are any operating systems that allow that kind of control -- at least, none that you'd ever see outside a server room. I wrote a program for Windows a couple of years ago that lets me change priority and # of CPUs for each program, and those are the only settings you'll ever find on a desktop machine. There just isn't any benefit to locking a program into using 10% CPU power and 10% RAM (or whatever), because the OS can always let that program use whatever it wants and then shove it out of the way when something more important starts running. You gotta remember, nothing happens without the OS saying it's okay.
If all you want is a lower RAM usage, don't bother worrying about it. Even if you could do it, it almost certainly wouldn't have any meaningful effect.
Well beings how OSX 10.5 has a full POSIX Unix backend, I am at a good advantage to have the apps that "are only found in a server room", at my disposal.
There are many good reasons why you would want to have your system's processes not run at full capacity, especially in big companies and in big server rooms (running unix as well), although my only reason is to drastically slow down a particular program's AI, but the reasons are irrelevant fortunately