Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v0tkdc$3780t$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v0tkdc$3780t$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.os.linux.misc
Subject: Re: Linux doesn't seem to manage memory very well
Date: Wed, 1 May 2024 14:42:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <v0tkdc$3780t$1@dont-email.me>
References: <v0t5nk$3415a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 01 May 2024 16:42:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e53104ab95f9770be2126895fd13199f";
	logging-data="3383325"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+KUvRV8R9s6+uw0OZMyKLJf7wuWCmCGwg="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:TAjuY74P+ddxv10pAEKbnV6Mx7M=
Bytes: 2893

On Wed, 01 May 2024 11:32:18 +0100, James Harris wrote:

> Not a question, just an observation.
> 
> I say that Linux doesn't seem to handle memory well because my laptop 
> had 8GB RAM (which, frankly, Windows seems to find perfectly adequate 
> for a similar workload).

I say that you are mistaken, and that Linux handles memory quite adequately
(but differently from how Windows handles memory)

> Under Linux the RAM would fill up and then swap 
> space would be used. Then the machine would become largely unresponsive 
> - e.g. taking minutes to switch between windows.

Ahhh.... now you describe your problem symptoms. Perhaps, with more
details, we can help you get the sort of performance that Linux can
properly provide.

> So I upgraded the RAM. It now has three times as much (i.e. 24GB)! But 
> even so, RAM has still steadily filled up until reaching the full 24GB. 
> What's more, it's now showing 4.8GB of swap space in use.

Sounds like a leaky application, but without more info, we can't help.

To give a counter-example, here's a snapshot of my desktop system's
usage (taken from top(1) )
  Tasks: 302 total,   1 running, 301 sleeping,   0 stopped,   0 zombie
  %Cpu(s):  0.0 us,  0.8 sy,  0.0 ni, 99.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
  MiB Mem :  30096.1 total,  25727.6 free,   2156.9 used,   2211.6 buff/cache
  MiB Swap:  65536.0 total,  65536.0 free,      0.0 used.  27297.9 avail Mem 

While I have more memory than you do (32Gb as compared to your 24Gb), I have
302 processes running and only about 4Gb of memory in use. Of my 64Gb of swap
space, /none/ is in use.

My previous desktop system(s) had less processing power, less memory, and less
swap space, and ran lively, without memory or response time problems.

So, if you want help, how about providing some details.

HTH
-- 
Lew Pitcher
"In Skills We Trust"