Reported to the GCC maintainers:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110156
doesn't appear to matter. The leak
obviously grows much more slowly than on my 2-socket-20-core server, but it's
clearly visible.
From: Beauregard,Christophe (ECCC)
Sent: Monday, June 5, 2023 12:44
To: Bob Friesenhahn ; 1037...@bugs.debian.org
<1
I've managed to find a workaround. Not a great workaround, but it seems to let
me take advantage of all cores for OMP without penalty. I'll be running some
more tests on that.
The thread needs to call:
#include
omp_pause_resource_all(omp_pause_soft);
at thread termination (a hard
hread pool in the main process and still
have it used from the subthread.
____
From: Beauregard,Christophe (ECCC)
Sent: Monday, June 5, 2023 09:20
To: László Böszörményi (GCS) ; Bob Friesenhahn
; 1037...@bugs.debian.org
<1037...@bugs.debian.org>
Subject:
"pmap -x %lld | grep 65404 | wc -l", (long long)myp);
system(s);
}
return 0;
}
____________
From: Beauregard,Christophe (ECCC)
Sent: Monday, June 5, 2023 08:58
To: László Böszörményi (GCS) ; Bob Friesenhahn
ers, etc.
c.
From: László Böszörményi (GCS)
Sent: Sunday, June 4, 2023 06:25
To: Bob Friesenhahn ; 1037...@bugs.debian.org
<1037...@bugs.debian.org>
Cc: Beauregard,Christophe (ECCC)
Subject: Re: Bug#1037042: graphicsmagick: GetImageDepth has a thr
oom140.png
25
1685735494
VSZ RSS USER COMMAND
2443096 19652 root./threadarena Zoom140.png
28
1685735495
VSZ RSS USER COMMAND
2705240 21052 root./threadarena Zoom140.png
31
____
From: Beauregard,Christophe (ECCC)
Sent: Friday, June 2, 2023 15:
my sanity.
From: Bob Friesenhahn
Sent: Friday, June 2, 2023 14:38
To: Beauregard,Christophe (ECCC) ;
1037...@bugs.debian.org <1037...@bugs.debian.org>
Subject: Re: Bug#1037042: graphicsmagick: GetImageDepth has a thread arena and
memory leak
[You don't often get
Package: graphicsmagick
Version: 1.4+really1.3.36+hg16481-2+deb11u1
Severity: normal
Tags: upstream
The GraphicsMagick API has a thread arena and more general memory leak
somewhere in the GetImageDepth() API call, presumably a side-effect of
the OpenMP usage.
First, you need a server class
9 matches
Mail list logo