1.8GB Heap Limit in ColdFusion MX
Macromedia's Recent Technote: Maximum JVM heap size greater than 1.8GB will prevent ColdFusion MX from starting points out the limitations of a the JVM on a 32 bit architecture.
Wondering where the number 1.8GB comes from? Moazam Raja's recent blog entry explains. 32 bit processes can only address 4GB of memory, windows reserves 2GB for the kernel. So where's the other .2 GB? It is allocated to the the JVM's
permanent generation (this stores meta data for the JVM). Many people increase the size of the permanent generation (for CFM or JSP apps) using the jvm startup option
-XX:MaxPermSize. If you increase the perm generation (and you may want to) keep in mind your Max heap size will be less than 1.8GB.
Of course if you have these problems you should consider upgrading to a 64 bit architecture which have much larger limits.
- ColdFusion Memory Usage Stats - March 15, 2004
- Getting Size of Heap and Non Heap Memory in CFML - July 17, 2013
- Robi Sen on Hung Servers, java.lang.OutOfMemory errors and Tuning CF JVM - November 19, 2004
- Server Memory Flash Remoting Tool - August 30, 2004
- ColdFusion Garbage - June 3, 2004
- Burst Throttling on AWS API Gateway Explained
- How to Resolve Java HTTPS Exceptions
- Tomcat Java 10 on Windows CreateJavaVM Failed
- SameSite Cookies with IIS
- Facebook API Now Requires Review for user_friends Permission
- Docker Container exited with code 137
- Why is my cron.daily script not running?
- Announcing FuseGuard Version 3