• mlpack mipsel build runs out of space at only 500Mb RAM

    From Barak A. Pearlmutter@21:1/5 to All on Wed Nov 9 22:10:01 2022
    Dear MIPS People,

    Please see the mipsel build log for mlpack 4.0.0-1,

    https://buildd.debian.org/status/fetch.php?pkg=mlpack&arch=mipsel&ver=4.0.0-1&stamp=1667929620&raw=0

    The bottom line is:

    as: out of memory allocating 4072 bytes after a total of 542392320 bytes make[3]: *** [src/mlpack/methods/CMakeFiles/mlpack_cf.dir/build.make:79: src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o] Error 1

    The build succeeds on all the other "supported" architectures.

    I'll grant you mlpack is a beast to build. "C++ Templates Considered Harmful".

    But even so, half a gig RAM does seem a little tight, even if it's
    just for the assembler.

    I checked, and the involved build has 16GB RAM, with a per-process
    limit of 2GB due to architectural restrictions.

    Any advice? It's already restricted to a non-parallel build, to try to
    lower the footprint. I'm loath to just disable the build on some
    architectures, but will if you folks think that's a good idea.

    Cheers,

    --Barak.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)