pf » 1.8GB Heap Limit in ColdFusion MX
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.
Related Entries
- ColdFusion Memory Usage Stats - March 15, 2004
- 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
- Have you tuned your JVM on ColdFusion MX yet? - September 25, 2002
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
- Googlebot to Submit Web Forms
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks
- 10 Most Useful Image Functions in ColdFusion 8
- Speaking at NYC CFUG This Week
- Adobe AIR Tutorial for HTML / JavaScript Developers
- INFORMATION_SCHEMA Support in MySQL, PostgreSQL
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in










