[erlang-bugs] escript results in disk_log space leak in R12B

Paul Guyot <>
Thu Aug 25 12:55:33 CEST 2011

Le 25 août 2011 à 12:00,  a écrit :

> I thought that there was some serious problem with the GC until I finally 
> remembered to try -mode(compile) and the problem went away. This is a trap in 
> the behaviour of the escript interpreter. Something in the interpreter is not 
> properly tail-call optimized.

This bug was fixed in R13B01.

From http://www.erlang.org/download/otp_src_R13B01.readme :

>     OTP-7933  Interpreted escripts are now tail recursive.

Semiocast            http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris

More information about the erlang-bugs mailing list