Do Delphi Linux apps on Ubuntu servers have a minimum RAM requirement for console-only applications?

128 Views Asked by At

I plan to write several programs for my website using Delphi for Linux. Can I get by with 256 MB of memory, or do Delphi Linux apps require more memory to run than what is available on a Ubuntu minimal server over OpenVZ?

1

There are 1 best solutions below

0
fpiette On

As Windows, Linux has a virtual memory system(Do not confuse with virtual machine). It means that if there is not enough physical memory for the loaded programs, then the kernel will swap memory blocks to the hard disk (Or whatever mass storage) in a dedicated partition or dedicated file called "swap" (https://tldp.org/LDP/sag/html/vm-intro.html).

You start getting "out of memory" error when the swap is full.

This swapping takes time and so it slow down the whole system but it still works.

This is for general Linux working. No idea of how behave OpenVZ.