<div dir="ltr">Hi, <div>Does C/C++ provide any API / system call that enables user to force the application to transfer some its physical pages to swap disk ? If so, is it also possible to obtain the least used page using some API ? </div><div><br></div><div>AFAIK, linux kernel is supposed to do this as part of memory management. I want to know if the kernel also exposes some API to enable users to control their application's memory management. I have many applications running at a time that cause too much memory consumption. I believe that experimenting with memory management can help.</div><div><br></div><div> --</div><div>Thanks and Regards,</div><div>Sumit</div></div>