<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Very slow downloading of a project which has 10 000 function blocks</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/</id><updated>2020-02-27T13:50:09.647000Z</updated><subtitle>Recent posts to Very slow downloading of a project which has 10 000 function blocks</subtitle><entry><title>Very slow downloading of a project which has 10 000 function blocks</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/?limit=25#5ae7" rel="alternate"/><published>2020-02-27T13:50:09.647000Z</published><updated>2020-02-27T13:50:09.647000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com92f7d67a26912f8df5ec60dfa3372975c9216bbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
which CODESYS version is this?&lt;br/&gt;
I would propose to send this project to improve/investigate to the support as a bug report.&lt;br/&gt;
Login to the CODESYS store and -&amp;gt; 'my question' &lt;br/&gt;
add the projectarchive ad this detailed steps to reproduce in our post above.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very slow downloading of a project which has 10 000 function blocks</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/?limit=25#f06f" rel="alternate"/><published>2020-02-27T13:50:09.549000Z</published><updated>2020-02-27T13:50:09.549000Z</updated><author><name>berendej</name><uri>https://forge.codesys.com/u/berendej/</uri></author><id>https://forge.codesys.com22f46f84b98860c22dbd25188cbc855e2984ed10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;After I click  "Generate code" - "locate global data" hangs for about 25 minutes.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very slow downloading of a project which has 10 000 function blocks</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/?limit=25#d850" rel="alternate"/><published>2020-02-27T13:50:09.447000Z</published><updated>2020-02-27T13:50:09.447000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.comad213897630d0966b554e03a49b3993bc5e731ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What happens if you separate compiling to downloading ?&lt;/p&gt;
&lt;p&gt;Step 1 : Clean All&lt;br/&gt;
Step 2 : Generate Code&lt;br/&gt;
Step 3 : Online&lt;br/&gt;
Step 4 : Download (via message box after online)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very slow downloading of a project which has 10 000 function blocks</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/704f81116e/?limit=25#5cbb" rel="alternate"/><published>2020-02-27T13:50:09.044000Z</published><updated>2020-02-27T13:50:09.044000Z</updated><author><name>berendej</name><uri>https://forge.codesys.com/u/berendej/</uri></author><id>https://forge.codesys.com640dd30a2ed80a3eb46267fb796a820685098a7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A project has 10 000 function blocks each of which is mapped onto output channel.&lt;br/&gt;
Compilation is quite fast ( Build -&amp;gt; Rebuild )&lt;/p&gt;
&lt;p&gt;1 - I initiate downloading ( Online -&amp;gt; Login )&lt;br/&gt;
2 - A message box "Application 1000_points does not exists on&lt;br/&gt;
    device 'Device' do you want to create it and proceed with download ? &lt;br/&gt;
3 -  I click OK.&lt;/p&gt;
&lt;p&gt;4 - Status bar has a string "locate global data" for about 25 minutes.&lt;br/&gt;
5 - A message box "No connection to the device, Please rescan your device" appears.&lt;br/&gt;
6 - I click OK.&lt;/p&gt;
&lt;p&gt;7 - Status bar has a string "Generating code I104_GVL_1__GVL__INIT" for about 2 minutes&lt;br/&gt;
8 - A message box "No connection to the device, Please rescan your device" appears.&lt;br/&gt;
9 -  I click OK.&lt;br/&gt;
10 - At this stage, if I will do nothing, then nothing will ever happen.&lt;/p&gt;
&lt;p&gt;11 - I do: Online -&amp;gt; Login again. &lt;br/&gt;
12 - A message box "Application 1000_points does not exists on&lt;br/&gt;
    device 'Device' do you want to create it and proceed with download ? &lt;br/&gt;
13 -  I click OK.&lt;br/&gt;
14 - After 2 minutes application starts.&lt;br/&gt;
15 - After 3 minutes dialog box "OutOfMemoryException" appears. I click OK.&lt;br/&gt;
16 - Application continues its work.&lt;/p&gt;
&lt;p&gt;If I do "Remove application" from controller - it removed quite fast.&lt;br/&gt;
If I download it again, then application starts quite fast ( approx. 45 seconds )&lt;br/&gt;
I can do several cycles "Remove application" -&amp;gt; "Download (Online-&amp;gt;Login)&lt;br/&gt;
and always it starts quite fast.&lt;/p&gt;
&lt;p&gt;But if I close CoDeSys IDE, and start it again then the same application&lt;br/&gt;
will download slowly again as described above from paragraph 1.&lt;/p&gt;
&lt;p&gt;The project with 5000 same function blocks starts in 1 minute.&lt;br/&gt;
With 10 000 function blocks in 30 minutes. So every 5000 f.b. multiply &lt;br/&gt;
download time in 30.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: OutOfMemory.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3527"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>