<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9285/" />
	<updated>2022-11-04T13:07:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9285/bug-fixed-stack-overflow-on-maxdatabars-300/</id>
		<entry>
			<title type="html"><![CDATA[Re: Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72073/#p72073" />
			<content type="html"><![CDATA[<p>Fixed in v2.7</p><p>Thank you for the report!</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-11-04T13:07:43Z</updated>
			<id>https://forexsb.com/forum/post/72073/#p72073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72064/#p72064" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-11-04T05:36:04Z</updated>
			<id>https://forexsb.com/forum/post/72064/#p72064</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug [Fixed]: Stack Overflow on max_data_bars = 300]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72062/#p72062" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[timelleston]]></name>
				<uri>https://forexsb.com/forum/user/14044/</uri>
			</author>
			<updated>2022-11-04T04:58:01Z</updated>
			<id>https://forexsb.com/forum/post/72062/#p72062</id>
		</entry>
</feed>
