Out of Memory Errors Cruisecontrol on Windows

I had a lingering item on one of my lists to look into why our Windows build box runs out of memory after 3-4 days of running cruisecontrol. Turns out it’s a quick uncomment in cruisecontrol.bat:

REM Uncomment the following line if you have OutOfMemoryError errors
REM set CC_OPTS=-Xms128m -Xmx256m

Not sure why it isn’t the default.