Follow these general guidelines to calculate the amount of memory you will need.
Virtual memory = RAM (main memory) + swap space
Calculate the amount of memory according to the five-minute rule:
Memory is sized at 16 Mbytes plus memory to cache the data, which will be accessed more often than once in five minutes.