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 Frank _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal