Size of code and data

The maximum size of the code in a program is 4GB. The maximum size of the data in a program is 4GB. If you exceed these limits the compiler will issue an error message.