> Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
> failing but ACF10 is not throwing an error to the browser. Finally dug into
> the logs and am seeing "Java heap space" errors. My JVM is configured as
> such:
>
> Min JVM Heap Size - 256
> Max JVM Heap Size - 512
> JVM Arguments - -XX:MaxPermSize=192m
>
> Solution is just to increase those numbers? Does this behavior seem odd?

Are you just doing a CFFILE read? Or are you also converting it into
an XML object? Because that will increase the internal memory size
needed by quite a bit.

But yes, you can probably fix this by allocating more memory to the
JVM. Nowadays, if you're running a 64-bit version of CF, you can throw
a lot of memory at it and avoid these types of problems most of the
time.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to