Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Number of process in Session 0 Pin
«_Superman_»26-Jul-10 19:37
professional«_Superman_»26-Jul-10 19:37 
GeneralRe: Number of process in Session 0 Pin
ThatsAlok26-Jul-10 19:38
ThatsAlok26-Jul-10 19:38 
GeneralRe: Number of process in Session 0 Pin
Cvaji26-Jul-10 19:45
Cvaji26-Jul-10 19:45 
GeneralRe: Number of process in Session 0 Pin
«_Superman_»26-Jul-10 19:49
professional«_Superman_»26-Jul-10 19:49 
GeneralRe: Number of process in Session 0 Pin
ThatsAlok26-Jul-10 19:37
ThatsAlok26-Jul-10 19:37 
GeneralRe: Number of process in Session 0 Pin
«_Superman_»26-Jul-10 19:41
professional«_Superman_»26-Jul-10 19:41 
GeneralRe: Number of process in Session 0 Pin
ThatsAlok26-Jul-10 23:51
ThatsAlok26-Jul-10 23:51 
AnswerRe: Number of process in Session 0 Pin
Randor 27-Jul-10 10:00
professional Randor 27-Jul-10 10:00 
Cvaji wrote:
I am creating 200 process simultaneously


Hi,

Some humble comments:

1.) I would recommend redesigning your application so that it does not require 200 processes to be created. I cannot think of many reasons why this would be necessary. I can think of hundreds of reasons why this would be undesirable.

2.) The number of processes is mostly limited by the amount of RAM available to the OS. Adding more RAM will probably allow more threads/processes.

3.) You should investigate some of the linker options such as "/STACK" and "/HEAP" to minimize application resource usage. Try to minimize the amount of GDI objects and file descriptors used by your application.

4.) If your process is multi-threaded utilize the STACK_SIZE_PARAM_IS_A_RESERVATION creation flag when you create a thread.

Thats all I can think of for now.

Best Wishes,
-David Delaune
QuestionCrash Pin
T.RATHA KRISHNAN26-Jul-10 18:56
T.RATHA KRISHNAN26-Jul-10 18:56 
AnswerRe: Crash Pin
Naveen26-Jul-10 19:10
Naveen26-Jul-10 19:10 
AnswerRe: Crash Pin
«_Superman_»26-Jul-10 19:11
professional«_Superman_»26-Jul-10 19:11 
GeneralRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:16
T.RATHA KRISHNAN26-Jul-10 19:16 
GeneralRe: Crash Pin
«_Superman_»26-Jul-10 19:19
professional«_Superman_»26-Jul-10 19:19 
GeneralRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:22
T.RATHA KRISHNAN26-Jul-10 19:22 
QuestionRe: Crash Pin
«_Superman_»26-Jul-10 19:28
professional«_Superman_»26-Jul-10 19:28 
AnswerRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:33
T.RATHA KRISHNAN26-Jul-10 19:33 
GeneralRe: Crash Pin
«_Superman_»26-Jul-10 19:36
professional«_Superman_»26-Jul-10 19:36 
GeneralRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:39
T.RATHA KRISHNAN26-Jul-10 19:39 
GeneralRe: Crash Pin
«_Superman_»26-Jul-10 19:44
professional«_Superman_»26-Jul-10 19:44 
GeneralRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:51
T.RATHA KRISHNAN26-Jul-10 19:51 
QuestionRe: Crash Pin
«_Superman_»26-Jul-10 19:53
professional«_Superman_»26-Jul-10 19:53 
AnswerRe: Crash Pin
T.RATHA KRISHNAN26-Jul-10 19:58
T.RATHA KRISHNAN26-Jul-10 19:58 
AnswerRe: Crash Pin
Cedric Moonen26-Jul-10 20:36
Cedric Moonen26-Jul-10 20:36 
AnswerRe: Crash Pin
Iain Clarke, Warrior Programmer26-Jul-10 22:41
Iain Clarke, Warrior Programmer26-Jul-10 22:41 
AnswerRe: Crash Pin
Randor 27-Jul-10 9:33
professional Randor 27-Jul-10 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.