all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70223: Search for empty string uses excessive memory
@ 2024-04-05 20:16 Athena Martin via Bug reports for GNU Guix
  2024-04-06  1:13 ` Richard Sent
  2024-04-30 17:46 ` bug#70223: I haven't been able to trigger this bug Dale Mellor
  0 siblings, 2 replies; 7+ messages in thread
From: Athena Martin via Bug reports for GNU Guix @ 2024-04-05 20:16 UTC (permalink / raw)
  To: 70223

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

I ran

  $ guix system search ""

A minute later, my desktop froze. I did it again with htop running and
saw that memory usage climbed right up to the full 32GiB in my
(swapless) machine. Right as it reached that point, the freeze recurred.

I haven't tested but it seems likely this same issue would occur with
guix search and guix home search as well. The best fix I can think of
is to refuse to search for an empty string without --force.

I looked for the following on issues.guix and found no existing bug:

empty string
empty search
guix search
system search
home search
service search
package search
""
''

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-30 22:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-05 20:16 bug#70223: Search for empty string uses excessive memory Athena Martin via Bug reports for GNU Guix
2024-04-06  1:13 ` Richard Sent
2024-04-30 17:46 ` bug#70223: I haven't been able to trigger this bug Dale Mellor
2024-04-06  1:05   ` [bug#70226] [PATCH] scripts: package: Disable searching with the empty string Richard Sent
2024-04-30 17:54     ` [bug#70226] Fwd: I haven't been able to trigger this bug Dale Mellor
2024-04-30 20:20       ` Richard Sent
2024-04-30 17:55   ` bug#70223: Scratch: " Dale Mellor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.