Hi, I'm trying to build MySQL 4.1.22 on a VPS where it looks like our available memory could be as low as 32MB, and compilation is erroring out partway through with a "virtual memory exhausted: cannot allocate memory" message.
I tried invoking configure with the "--with-low-memory" flag, and then recompiling, and was still bumping up against the same issue. So I went looking for any other info I could find out on the net, and did find some specific info about flags you can feed to gcc to keep memory usage low here: http://hostingfu.com/article/compiling-with-gcc-on-low-memory-vps However, near as I can tell, when I add the flags --param ggc-min-expand=0 and --param ggc-min-heapsize=8192 to CFLAGS in the Makefile in the top-level source directory, nothing changes. The output of make seems to indicate it's using the same flags as before I changed the makefile. In fact, it looks like I can remove CFLAGS entirely or change it to something like CFLAGS = --hovercraft-full-of-eels and nothing changes. Any obvious things I'm missing? Ideas for other things I could try? Thanks, Weston -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]