Am 26.04.2012 14:57, schrieb OBones:
Jonas Maebe wrote:

OBones wrote on Mon, 23 Apr 2012:

And because I have to split my generated files so that FPC does not
hit the 2GB memory limit (which it does for a 15M source file)

What is the structure of that source code? (a few giant routines,
large constant arrays, ... ?)
Thousands of small routines. Splitting them across multiple units allows
to compile, with the "write to disk" issue.

You can use a compiler compiled with EXTDEBUG to get some statistics where the memory goes.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to