Clear encrypted SWAP memory?

Memory that is not being touched for some time will be swapped out in advance. The memory content will be kept, but now it is "inactive", in other words : cache. This points to memory leaks by some application, in your case chrome. How to set limits? limits() should help.
 
I'm being lazy about searching the previous pages, but this was this on a laptop that you hibernate/suspend periodically? If you do everything but hibernate/suspend do you still wind up hitting swap?

as for setting resource limits I think starting with:
man limits
man rctl
man login.conf
 
What do you do with that amount of tabs?
I would be searching through every single one and not getting any work done.
Have you ever had someone ask "Can you take a look at this code", you walk over, they have 100 different terminal windows, then they start open and closing them "Not this one, maybe this one". I start to get sick from it.
 
The mind boggles. What do you do with that amount of tabs?

Myself I usually go up to 700 before I restart Chrome (mind you I do this on my Mac).

I just have rows of tabs that relate to one topic (one window) that I go through so quickly that I can't outright tell whether I want to revisit them later. Once out of sight they don't get closed anymore. It goes like that until a machine or browser restart.

After restart I use session buddy to re-open those tabs that are still of interest, so I start out with 100 old tabs right at the beginning of a rebooted session.

It takes about 40 GB RAM on the Mac, although I am not offhand sure whether there is a lot of swapspace used.

Intuitively I agree that you shouldn't have 30 GB declared as outright and plain free at a time when major swapsace usage happens. Free RAM is useless. Usually we tell that to people that wonder why there is not an expected amount of RAM free, but as we see the opposite can be true, too.

I also watch youtube and other videos only in batches. So they, too, pile up in tabs until I do so every second day or so.
 
I would be searching through every single one and not getting any work done.
Have you ever had someone ask "Can you take a look at this code", you walk over, they have 100 different terminal windows, then they start open and closing them "Not this one, maybe this one". I start to get sick from it.

For tabs, I find them in the session buddy extension.

For terminals, I don't have that many and organize around tmux instead. My `cd` command also sets the window title to machine/pwd, so I can quickly find the right xterm in fvwm2's window list.
 
  • Like
Reactions: mer
but this was this on a laptop that you hibernate/suspend periodically? If you do everything but hibernate/suspend do you still wind up hitting swap?
Yes, I suspend/hibernate frequently - basically whenever I don't use I suspend/hibernate instead of restart - since I usually have some work. Can't do without supend/hibernate.
1000 tabs isn't that much. How is it going now that swap is off? How much reported free memory?
So far it's ok since there's no swap now - but last time also I judged too soon, maybe this time I should observe for around a month with suspend/hibernate and see - will reserve my judgement.

I just have rows of tabs that relate to one topic (one window) that
What do you mean by rows here? I could use some tab hygiene
The mind boggles. What do you do with that amount of tabs?
Don't let it boggle just yet - I mentioned thousand plus and cracauer@ assumed it was around a 1000 ...... it's multiples of that hahahaha - don't ask why, maybe just by virtue of being disorganized.
 
  • Like
Reactions: mer
Er need a new word or description for this. Browser messies? TabHoarder?
 
Right now a row of tabs is a window for me.
I see. I asked also because Chromium (in my setup) doesn't show the ability to move left/right from the current set of tabs filling the screen length. In fact I'm relying on the tab search option to navigate at this point (is that what happens when you exceed the screen length for tabs?)
Er need a new word or description for this. Browser messies? TabHoarder?
Haha - if are have just invented new folklore about browsing and tabs - then in the next step we can measure how badly people are affected by this (measured by max #tabs open at a given time to score their ignominy :D )
 
W.r.t. measurements, we once upon a time had defined the unit of 'Oscar', being 1000 lines of code in one function. There were files containing 4.5 and 4 Oscars.
 
You should try out the Session Buddy extension. Makes finding tabs much easier.
Already have it - but going to the extension page interfered with 'last used tab' - hence I find the drop-down search functionality of Chromium to be better.

W.r.t. measurements, we once upon a time had defined the unit of 'Oscar', being 1000 lines of code in one function. There were files containing 4.5 and 4 Oscars.
I suppose I'd qualify for a few Oscars then in our newly-invented category?
 
I was thinking is there a way to break up swap and dump for when you have swap set up on a usb drive for example with the fstab file? Maybe use a different swap for dumpon?
 
I think so. Reading /etc/defaults/rc.conf should say something about that.
 
Back
Top