[fpc-pascal] TProcess stack size

Frank Poretzky poretzky at nym.mixmin.net
Tue Aug 26 01:19:32 CEST 2014

Hi Michael,

on Mon, 25 Aug 2014 11:33:59 +0200 (CEST), you wrote:

>On Fri, 22 Aug 2014, Frank Poretzky wrote:
>> Hi,
>> in MS Windows is there a way to increase stack size for an executable
>> run through TProcess?
>Not that I am aware of.
>> For portability reasons I tried to migrate from
>> CreateProcess to TProcess, but when executing more complex operations of
>> the called program it now aborts due to a memory shortage though simpler
>> tasks in the same program run correctly. I've already set the project's
>> heap (-Ch) and stack size (-Cs) to high values.
>>  AProcess.Options := [poUsePipes, poNoConsole];

The problem was located here --------^^^^^^^^^^^
No console, no pipe output (sometimes).

Thanks Michael


More information about the fpc-pascal mailing list