I am working on friendly-arm Linux based application, in which only one program is running that is creating many processes and many files are appending with data. One of these processes is PPP. My friendly-arm Linux RAM size is 128MB.
When this 128MB ram is filled then the process PPP is hanging so I want to set as - When ram memory exceeds 127MB then don't write data to files.
How it can be done? Can one give useful information?