By the way, for what it's worth, I saw the same behavior with v1.2.6 (but I did not get the message about it taking longer than 10s to compile).
-- Onorio On Tuesday, June 21, 2016 at 9:55:01 AM UTC-4, Onorio Catenacci wrote: > > Hi all, > > Win 10 with Elixir v1.3.0 > > Sorry I can't make a smaller repro set for you but I hope this is > sufficient. https://github.com/OnorioCatenacci/Riismi > > If I comment out line 3 in file.ex i. e. > > # @processedfile_directory Riismi.processedfile_path > > My app compiles pretty much immediately. However if I leave it enabled, I > get this: > > PS C:\Users\ocatenacci\riismi> iex.bat -S mix > Eshell V7.3 (abort with ^G) > Compiling 2 files (.ex) > warning: redefining module Riismi (current version loaded from > Elixir.Riismi.beam) > lib/riismi.ex:1 > > Compiling lib/file.ex (it's taking more than 10s) > eheap_alloc: Cannot allocate 1219668168 bytes of memory (of type "heap"). > > The difference is solely whether or not I comment out that line. I have > double checked everything I can think to check but I'm still not finding > the problem. Given the error message it seems as if something is endlessly > recursing but since the line right above it ( @file_directory > Riismi.datafile_path) is very analogous I can't figure out what may be > recursing. > > Any suggestions would be greatly appreciated. I'm only posting this to > core because it almost seems like it might be a bug--although I realize > it's more likely something I've done and I've just not spotted yet. > > -- > Onorio > > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/b45247d7-92c5-4140-95d6-e0068cd88792%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
