Knowledgebase: Compilation
7.x: "Out of memory" for ecc32
Posted by Aleksandr Alekseev on 15 October 2015 14:30

Problem:

I get "out of memory" exception from ecc32 when compiling my large project with EurekaLog.

Explanation:

EurekaLog's ecc32 uses arrgessive memory allocation to speed up post-processing. Doing so it can post-process smaller projects in a matter of few seconds (sometimes even less than one second). However, if you try to compile larger project in this mode - ecc32 would run out of memory, as it is 32-bit process limited to 2 Gb of address space.

Solution:

You can instruct ecc32 to conserve memory usage. The post-processing will be slower, but it will use far less memory. To do that:

  1. Open "Project" / "EurekaLog options" dialog;
  2. Go to "Advanced" / "Custom / Manual" tab;
  3. Add the following option to any location:

ECC32TradeSpeedForMemory=1

Note: be sure to check if such option already exists (the options' list is sorted alphabetically). The option is not presend by default, but someone may already added it. If this option exists - replace '0' with '1'.


Help Desk Software by Kayako Resolve