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

"Barak A. Pearlmutter" <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <CANa01BJmtmy6=eFshD5ZtOGXfDmbt7nzoAeysZUfL4xdS7ndgQ@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.