Hi All,
I am using linux kernel 2.6.30 on my board. It has 128MB of DDR2. My main application occupies almost 80MB of system memory. After executing all applications, only 25MB is left. I want to execute system commands from my main application (which uses 80MB). But it is not executed. As per my understanding, each child process requires same memory as of parent process(i got this description from fork function manual). So in my case, new child process requires another 80MB which is not available. Hence system call is not working. System command must execute immediately after giving command as followed steps in main application requires result of system command (like need to store output of grep command in file and immediately read that file for further processing). Hence i can not use IPC mechanism. What are other ways?
Saurabh Shah