Re: Commenting out out_of_memory() function in __alloc_pages()

Chase Venters
2006-07-09T07:55:10Z

On Sunday 09 July 2006 01:10, Abu M. Muttalib wrote:
> I have a total of 16 MB RAM. My main concern is that I was running the same
> set of applications earlier on linux-2.4.19-rmk7-pxa1 and didn't get any
> out of memory. I am running the same application and get the OOM, though
> the appearance is not uniform, at times it comes on a freshly booted system
> and at times it didn't come when the system is on overnight.... Why I am
> getting here??? Is there any problem with linux-2.6.13?

I'm just guessing now, but it's possible that the default thresholds have
changed from 2.4.19 to 2.6.13 (indeed, the amount of progress between those
two versions is more than some OS kernels have seen in their lifetime).

You might look at Documentation/sysctl/vm.txt and check those settings on
2.4.19 versus 2.6.13.

What application are you having trouble with?

> I have tried to check the application for memory leak with no success.
> There seems to be no memory leak.
>
> >Thanks,
> >Chase
>
> Regards,
> Abu.

Thanks,
Chase