The default Railo install allocated only 256mb of ram to the jee server ( resin ). This is great for smaller projects and lower ends VPS installs but for larger apps that perhaps make use of alot of objects or framworks it can cause some slowness. ColdFusion 8/9 default to 512 so I'll show you how to up the memory to 512.
This is for Windows but its the same for linux/OSX
Find the resin.conf file:
C:\Railo\conf\resin.conf
Find this section:
- The JVM arguments
Change this:
-Xmx256m
to:
-Xmx512m
Restart the Railo service.
Log into the Web Admin and confirm and now watch your CFML application fly.
5 comments: