On Wed, Nov 15, 2023 at 02:30:05PM +0000, Chris Lamb wrote:
> Holger Levsen wrote:
> > https://jenkins.debian.net/job/reproducible_netbsd/1029/console
> > contains this, which IMO should not happen and is an issue in
> > diffoscope:
> >
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 767, 
> > in main
> >     sys.exit(run_diffoscope(parsed_args))
> >              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> […]
> >   File "/usr/lib/python3.11/subprocess.py", line 2128, in _communicate
> >     data = os.read(key.fd, 32768)
> >            ^^^^^^^^^^^^^^^^^^^^^^
> > MemoryError
> Yes, diffoscope is running out of memory and this may indeed be a bug
> in diffoscope. 

I think there is definitly an UI bug in diffoscope here. If/when diffoscope
runs out of memory, it should state that clearly and not throw 42 lines of
traceback at the user.

> However, how much RAM is diffoscope allowed (or can)
> use?

We're not limiting RAM for diffoscope in any way when calling it. The machine
has 73G.


-- 
cheers,
        Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

„Ich mag schöne Menschen. Wie sie aussehen ist mir egal.“

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to