Tom, it is true, I use many Public variables, arrays (for example for converting OEM/ANSI characters etc.)We also have much bigger EXEs, so it must be something in the source code creating memory consumption during the compilation, like huge string constants, tons of vars or whatever. Take your problem to Alaska, Victorio!
First I will optimize source code, set undefined variables to Local etc, I have a pretty big mess in it.

When problem occur again, will write to Alaska.
Now I look taskmgr how memory use xpp workbench when compiling, and at one moment used 1,8GB !!!, is it normal ?