Provided with a disclaimer, as I asked a Java friend about this and he
suggested something called Stax api for xml parsing.

I did some quick research and found this article. It would be more Java
than CF, but hey CF plays nice with that.

http://www.javacodegeeks.com/2013/05/parsing-xml-using-dom-sax-and-stax-parser-in-java.html

Based on that, I would imagine, CF uses a Dom parser based on its parsing
performance.

All a bit dependent on the required outcome however as this may be overkill
if you just need to read the file.

Are you parsing and searching xml, or just doing some file manipulation
stuff?

Byron Mann
Lead Engineer & Architect
HostMySite.com
On Dec 9, 2013 5:04 PM, "John M Bliss" <[email protected]> wrote:

>
> 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?
>
> --
> John Bliss - http://about.me/jbliss
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:357325
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to