Internal Compiler Error When Trying To Build A Large EA

 

Hi, I got "Internal Compiler Error" message when trying build a large EA containing millions of lines of code (for testing purpose, I get tired of having to read files every test).

Total data is about 4-500mb. But when I reduced the data size to ~50mb it built successfully. 

Is there a maximum size threshold that the compiler can build to?

My computer is using Windows 11 64 bit OS, 64gb of RAM

 
Le Minh Duc:

Hi, I got "Internal Compiler Error" message when trying build a large EA containing millions of lines of code (for testing purpose, I get tired of having to read files every test).

Total data is about 4-500mb. But when I reduced the data size to ~50mb it built successfully. 

Is there a maximum size threshold that the compiler can build to?

My computer is using Windows 11 64 bit OS, 64gb of RAM

Yeah there is a limit at ~175mb (150mb probably)

here are my tests

80 mb of bytes array , 278 mb on disk -> Internal Compiler error
60 mb of bytes array , 209 mb on disk -> out of memory
50 mb of bytes array , 175 mb on disk -> Internal Compiler error
40 mb of bytes array , 140 mb on disk -> compiled
30 mb of bytes array , 105 mb on disk -> compiled
20 mb of bytes array ,  70 mb on disk -> compiled
10 mb of bytes array ,  35 mb on disk -> compiled
 

Also if you compile an array of bytes in the include , it's size must not exceed 32 megabytes .

The ex5 will compile but the array will not keep it's contents somehow