Optimal Windows XP virtual memory size.

I am running Microsoft Word 2007 application on Windows XP. The application keeps freezing with the system giving a message of low memory, I have to keep closing and launching it everytime this happens. I have a feeling that it is an issue to do with the size of virtual memory.
What is the optimal Windows XP virtual memory size?
