Theoretically, virtual memory can use all the available space on your hard drive to store application data. Max limitation is physical disk space. But it is recommended that users do not increase virtual memory beyond 1.5 times the amount of physical RAM present. So a system with 4 GB RAM should have virtual memory of no more than 6 GB.