Enrico Forestieri wrote:
I am objecting. I only have 256 Mb of memory and right now I am barely able to successfully compile src/buffer.C. Moreover, I cannot anymore compile with debugging symbols because I get out of memory errors, and have to selectively compile single files with -g. I think that with such large files I will not be able to compile LyX. No, I am not going to buy more memory (wouldn't fit in my laptop anyway) or a new computer in the near future.
Good point. There are many files much smaller than buffer.C's 44kB though. Perhaps a "don't merge beyond 32kB" policy might help you?
There seems to be lots of files <10kB, where some merging might be ok. Also consider using a swap file when compiling. That should replace the out of memory problems with disk waiting. Helge Hafting
