<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
		<link>https://forexsb.com/forum/topic/9285/bug-fixed-stack-overflow-on-maxdatabars-300/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9285/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug [Fixed]: Stack Overflow on max_data_bars = 300.]]></description>
		<lastBuildDate>Fri, 04 Nov 2022 13:07:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link>https://forexsb.com/forum/post/72073/#p72073</link>
			<description><![CDATA[<p>Fixed in v2.7</p><p>Thank you for the report!</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 04 Nov 2022 13:07:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72073/#p72073</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link>https://forexsb.com/forum/post/72064/#p72064</link>
			<description><![CDATA[<p>&gt; When I put my --max_data_bars to 300, it throws as error: RangeError: Maximum call stack size exceeded</p><p>Mhmm. This is very interesting. I did not expect that <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />) But I&#039;m happy I know what is going on.</p><p>Express Generator becomes too fast and fills the stack before breaking its main loop recursion. I do it at every 200 milliseconds because every break has several milliseconds delay. However, if it makes more than 1000 (roughly) loops within 200 milliseconds, it overfull the stack. I never thought Express Generator may be so fast.</p><p>Now the obvious solution is to examine the limit it crashes and to break the NodeJS event loop just before that.</p><p>I&#039;ll have fun today.<br />I would start doing that immediately but I&#039;m going to my morning Iaido session.</p><p>Thank you for reporting that!</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 04 Nov 2022 05:36:04 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72064/#p72064</guid>
		</item>
		<item>
			<title><![CDATA[Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link>https://forexsb.com/forum/post/72062/#p72062</link>
			<description><![CDATA[<p>Bug found:<br />When I put my --max_data_bars to 300, it throws as error:</p><div class="codebox"><pre><code>RangeError: Maximum call stack size exceeded
    at Strategy.copy (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:52974)
    at Composer.nextStrategy (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:16775)
    at Application.mainLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:2756)
    at Application.nextLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:5206)
    at Application.mainLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:3015)
    at Application.nextLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:5206)
    at Application.mainLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:3015)
    at Application.nextLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:5206)
    at Application.mainLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:3015)
    at Application.nextLoop (/Users/timelleston/express-generator/bin/lib/xgen.min.js:1:5206)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (timelleston)]]></author>
			<pubDate>Fri, 04 Nov 2022 04:58:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72062/#p72062</guid>
		</item>
	</channel>
</rss>
