hello i am implemented PPP process in friendly arm Linux but when memory is full then PPP process in hanging or not working. so i want to allocate some fixed part of ram memory to PPP process........ and my friendly arm Linux RAM size is 126MB and in that i want to allocate 100 KB size to PPP process..how it can be done .....
memory allocation
thanks for your reply iam writing startup code ..in that code so many files are generating and data is filling in that files continuously and one of the thread is pppd function ...but pppd is hanging when my complete ram size is filled with existing file system and files created by startup code so iwant to give seperate memory for pppd process.. Thankyou
Seems you are running a RAM disk, aren't you? Your system is always in danger if all the main memory is exhausted. You should re-think about your task and how to solve it. BTW: There is no way to give the 'pppd' (its simply an application like every other application in your system) more or reserved memory. You are doing something fundamentally wrong if you are fighting with exhausting memory.