On February 13, 2002 05:02 am, you wrote: > On 04:24 13 Feb 2002, cameron <[EMAIL PROTECTED]> wrote: > | Is there anyway of purging my ram and/or the swap? My system becomes > | very slow after awhile and a reboot is the only way I can remedy this. > > Sounds like bloat, and thus thrashing (excessive paging) - is there steady > disc activity when it gets sluggish? Several programs grow indefinitely > (eg Mozilla or Netscape). Run top and sort the columns on memory size. Or > run "ps axl" and sort on the RSS or SIZE fields - compare them: SIZE is > the total process size and RSS is the resident set - those pages actually > in memory.
There often is steady disk activity when I'm multi-tasking several memory intensive programs which I expect. However, if I shut everything down things are still slow which is why I'd like to be able to purge my memory, though logging out does a good job. There used to be steady disk activity for five or ten minutes on start-up of X, but I shut down all but the necessary daemons which seems to have fixed the problem. Also, under top X's size vs. rss and share seems to be out of proportion compared to other programs. Is this unusual? Is size the malloc or does it represent memory that is actually in use? > | Also, is there a way of changing the memory allocation of various > | processes? It appears (in top) that X has close to 60Mb of memory > | allocated to it (running Gnome) and I'd like to know if it really needs > | that much and still remain stable. > > Well, they need what they need. If you put a memory limit on a program and > it hits it it generally just aborts. (You want the "ulimit" bash builtin - > see "man bash" and go to the bottom and search backwards for it.) Thanks, I'll see what I can do with that. > But some things use more than others. If you're short of real memory, > choose more frugal programs: run icewm instead of the Gnome window > manager, use rxvt instead of xterm or the Gnome terminal, use few browser > windows. Use no background images and wallpaper. Quit netscape (or > whatever) when it gets too big. Turn off image animations and JavaScript. I really like icewm, thanks. I tend to use Opera to browse despite some limitations. Cameron _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
