<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Just to close the loop, this was the fix:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/absinthe-graphql/absinthe/pull/645">https://github.com/absinthe-graphql/absinthe/pull/645</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks again Michał and Fred for the help<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> erlang-questions-bounces@erlang.org [mailto:erlang-questions-bounces@erlang.org]
<b>On Behalf Of </b>Michael Schmidt<br>
<b>Sent:</b> Tuesday, December 4, 2018 1:24 PM<br>
<b>To:</b> Michał Muskała <michal@muskala.eu>; erlang-questions@erlang.org<br>
<b>Subject:</b> Re: [erlang-questions] Compile Question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="color:red">[External email: Use caution with links and attachments]</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p> <o:p></o:p></p>
<div>
<p class="MsoNormal">Thanks! That makes sense that the issue is not the lists:foreach(), but a layer deeper<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am open on how to address this—I need to test Fred’s hypothesis real quick.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the mean time, this is as deep as I got:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">def</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#DCDCAA">build_types</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(types)
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#9CDCFE">IO</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.puts
</span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178">"build_types
</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">#{</span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178">types
</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">|></span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178"> length()
</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">|></span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178"> inspect</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">}</span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178">"</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">for</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> type <- types
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">if</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> !type.definition,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> do:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">raise</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(</span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178">"""</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#CE9178"> No definition set!</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#CE9178"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">#{</span><span style="font-size:10.5pt;font-family:Consolas;color:#CE9178">inspect(type)</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">}</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#CE9178"> """</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> ast = </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#9CDCFE">Macro</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.escape(type, unquote:
</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">true</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">quote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">def</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#DCDCAA">__absinthe_type__</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">unquote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(type.identifier))
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">unquote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(ast)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">def</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#DCDCAA">__absinthe_type__</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">unquote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(type.name))
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">unquote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(ast)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> |> </span><span style="font-size:10.5pt;font-family:Consolas;color:#9CDCFE">Enum</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.concat([<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">quote</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">def</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#DCDCAA">__absinthe_type__</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">(</span><span style="font-size:10.5pt;font-family:Consolas;color:#6A9955">_type</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">)
</span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">do</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">nil</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> ])<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:14.25pt;background:#1E1E1E">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:#C586C0">end</span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The types list is 776 long. If I comment out the 2 “def __absinthe_type()” clauses the issue does not occur, so I assume this is the list referenced in the error message.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Michał Muskała [<a href="mailto:michal@muskala.eu">mailto:michal@muskala.eu</a>]
<br>
<b>Sent:</b> Tuesday, December 4, 2018 1:14 PM<br>
<b>To:</b> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>; Michael Schmidt <<a href="mailto:Michael.K.Schmidt@schneider-electric.com">Michael.K.Schmidt@schneider-electric.com</a>><br>
<b>Subject:</b> Re: [erlang-questions] Compile Question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="color:red">[External email: Use caution with links and attachments]</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p> <o:p></o:p></p>
<div>
<div name="messageBodySection">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">The issue seems to be that the compile-time function created by the module is huge and tries to allocate a compile-time list with 1555 elements. The lists:foreach call is probably
misleading - that's just somewhere on the compiler stack. The good thing is that it's probably just a matter of refactoring macros in the Absinthe.Phase.Schema.Compile module. It shouldn't need to build such huge lists (I've reviewed the module briefly).<o:p></o:p></span></p>
</div>
<div name="messageSignatureSection">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><br>
Michał.<o:p></o:p></span></p>
</div>
<div name="messageReplySection">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">On 4 Dec 2018, 19:44 +0100, Michael Schmidt <</span><a href="mailto:Michael.K.Schmidt@schneider-electric.com"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">Michael.K.Schmidt@schneider-electric.com</span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif">>,
wrote:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #1ABC9C 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-right:3.75pt;margin-bottom:3.75pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">I have been chasing a compile error:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif">** (CompileError) elixir_compiler_1: function '__MODULE__'/1+17:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> An implementation limit was reached.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> Try reducing the complexity of this function.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> Instruction: {move,{x,0},{y,1555}}<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> (stdlib) lists.erl:1338: :lists.foreach/2<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> lib/absinthe/phase/schema/compile.ex:51: Absinthe.Phase.Schema.Compile.run/2<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> lib/absinthe/pipeline.ex:283: Absinthe.Pipeline.run_phase/3<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> lib/absinthe/schema.ex:214: Absinthe.Schema.__after_compile__/2<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> (stdlib) lists.erl:1263: :lists.foldl/3<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif"> (elixir) lib/kernel/parallel_compiler.ex:206: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">I realize this is an Elixir / Absinthe issue, but my question is this: How is lists:foreach() able to trigger this? <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ferlang%2Fotp%2Fblob%2Fmaster%2Flib%2Fstdlib%2Fsrc%2Flists.erl%23L1332&data=02%7C01%7Cmichael.k.schmidt%40schneider-electric.com%7C87fe5b9077a346e957f808d65a1e1689%7C6e51e1adc54b4b39b5980ffe9ae68fef%7C0%7C0%7C636795482608459451&sdata=WR3VT%2BAIRrgX1eJUX9h6BvRuHGe7hDnKFJ9yJZ0odew%3D&reserved=0"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">https://github.com/erlang/otp/blob/master/lib/stdlib/src/lists.erl#L1332</span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">Poking around, there is indeed a list of 776 items that generates 2 function defs each, which gives us a final AST
list of approx 1552. I assume this is related to the {y,1555} in Error.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">Can lists:each() not handle lists longer than 1024? What am I missing?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">Mike<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td valign="bottom" style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">_______________________________________________<br>
erlang-questions mailing list<br>
</span><a href="mailto:erlang-questions@erlang.org"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">erlang-questions@erlang.org</span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><br>
</span><a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions&data=02%7C01%7Cmichael.k.schmidt%40schneider-electric.com%7C87fe5b9077a346e957f808d65a1e1689%7C6e51e1adc54b4b39b5980ffe9ae68fef%7C0%7C0%7C636795482608469447&sdata=0qpbd9aGavX%2BBD%2BfX9J9gLA9KvcwPRRDSRcRMmJqF2Y%3D&reserved=0"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">http://erlang.org/mailman/listinfo/erlang-questions</span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
______________________________________________________________________<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
______________________________________________________________________<o:p></o:p></p>
</div>
</div>
</body>
</html>