0

My Thinkpad T61 can only have 4GB RAM, but a program requires at least 4GB memory. I have allocated 16GB swap partition.

When the program starts, it complaints

Insufficient memory allocation. Required is 4000000 KB, but configured is 3979756 KB.

Is there a way to make the O/S consider the swap partition more like real RAM?

1
  • 2
    Even if you could, it would work unbearably slow.
    – Pilot6
    Jan 12, 2017 at 13:48

1 Answer 1

1

Yes, you can. It doesn’t work exactly as RAM does, but it may help you a lot. There’s a parameter called swapiness. This is the measure of how frequently to use your swap space. A higher value means higher access rates. More about setting swappiness can be found on the question How do I configure swappiness?

I think you need a higher swappiness rate. But it would be better to add more memory than to increase your swappiness, as this can cause problems for your hard disk drive.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .