Eric Holk
Eric Holk
Unfortunately, since I've started using @akeep's Nanopass Framework, the Harlan compiler uses a lot of memory, typically about 3GB. This sounds like you're probably running out of address space though....
I've just filed a related bug on the Nanopass framework: akeep/nanopass-framework#4
Ah, I'm glad you're still able to run the compiler. I agree that the startup time isn't great, but hopefully we can improve it in the future. If you have...
@zhemao - If you enable a swap file, does that allow you to run the Harlan compiler?
As of 6faa9f5b3895ddded7b4d1222e9a45ffe8fbb628, the memory usage and compile time should be significantly better, although there's still a lot more room for improvement.
I made another change, 417059e, which significantly reduces Harlan's memory usage. We should be able to further reduce it if necessary.
2c163242925c2e1d0a0c091345daa5b49194acf8 should make this better.
This bug first showed up in d0d668e98097a4fa2cb8cea079971caea01354d7. It doesn't seem like anything in that change should have affected macro expansion...
Yeah, that makes sense. I was worried that the assigned variable analysis might be kind of intricate, but I guess not. As you say, the analysis will probably be helpful...
I suspect this bug explains why our Mandelbrot programs only generate white images now.