Hi Jeroen,
let me 1st tell you something about the application:
- windows forms application that should act quite like a batchfile ->
launching programs out of a list,
- displays list of programs in a datagridview,
- Button_Click() - backgroundworker.RunAsync()
- backgroundworker.DoWork() - launches item per item the programs from the
list as a process.
now, I removed the bgworker.. still the same problem.
One console program consumes about 280mb within the started process and
hangs. when launching it from normal console start>execute program .... it
consumes about 400mb and exists normally.
I think the problem is the "process class" of c#. Is it possible to adjust
its maximum memorylimit, if it has a memory limit...
Any hints ?
Sven
"Jeroen Mostert" wrote:
Sven W. wrote:
I am developing a C# Windows Forms application that launches processes within
a background worker..
The processes seem to have a memory limit of about 278mb. Some proccesses
that get to that
amount of used memory seem to hang ;-(
I'm quite skeptical that BackgroundWorker has anything to do with it. Can
you verify that the problem doesn't occur if you start them without using
BackgroundWorker, or even if you start them manually?
--
J.