I am playing around with Julia's static compilation capabilities described 
here: http://juliacomputing.com/blog/2016/02/09/static-julia.html, but part 
of the process hangs. When I try to generate a system image containing 
compiled code for all functions:

julia5l --output-o sys-all.o --sysimage /mnt/external/build/julia_0.5latest/
usr/lib/julia/sys.so --startup-file=no --compile=all --eval nothing

I get output:

found 24662 uncompiled methods for compile-all
... a counter that counts up to 24662...
found 115 uncompiled methods for compile-all
... a counter that counts up to 115 ...


The last two lines repeat a large number of times until either the counter 
stops on some particular value (the value is different each time I try 
this) and memory usage steadily increases until I have to kill the process, 
or the last two lines repeat infinitely while memory usage steadily 
increases, although more slowly than if the counter stops.

Has anyone else seen this or know the cause?  I'm running the latest julia 
(commit e4b5233, Sat Aug 13 12:10:46 2016 -0400) on Ubuntu.


    Jared Crean

Reply via email to