You need to have enough drive space for your OS, document tree, and log files. In most cases 2 GB total is sufficient.
Put the OS, swap/paging file, Sun Java System Web Server logs, and document tree each on separate hard drives. Thus, if your log files fill up the log drive, your OS will not suffer. Also, you’ll be able to tell whether, for example, the OS paging file is causing drive activity.
Your OS vendor may have specific recommendations for how much swap or paging space you should allocate. Based on our testing, Sun Java System Web Server performs best with swap space equal to RAM, plus enough to map the document tree.