<div dir="ltr">I wonder why not to set required amount of memory using guestfs_set_memsize or setting LIBGUESTFS_MEMSIZE environment variable just for this test?<div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>--</div><div>    <span style="font-size:small">+380979184774</span><br>    Mykola Ivanets</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">ср, 23 трав. 2018 о 11:28 Pino Toscano <<a href="mailto:ptoscano@redhat.com">ptoscano@redhat.com</a>> пише:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday, 16 May 2018 14:43:09 CEST Richard W.M. Jones wrote:<br>
> With recent Linux kernels, adding and partitioning 255 disks causes<br>
> the appliance to run out of memory.  This causes a test failure in<br>
> tests/disks/test-255-disks.sh.  This change gives the appliance enough<br>
> memory to complete the test.<br>
<br>
TBH raising the amount of memory only for those tests is the solution<br>
IMHO, since they are very corner cases, and thus it makes sense for<br>
them to require extra work.  In any case, the current default of memory<br>
seems fine for the majority of the use cases, so I'd delay the default<br>
change only if strictly needed to work in "usual workloads".<br>
<br>
-- <br>
Pino Toscano_______________________________________________<br>
Libguestfs mailing list<br>
<a href="mailto:Libguestfs@redhat.com" target="_blank">Libguestfs@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libguestfs" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libguestfs</a></blockquote></div>