I did a quick test using the CF8 monitor tool to figure out if XML is  
larger when stored as a String or a XML object.  As suspected the XML  
object is larger but only by about 80 bytes.  I was only using a  
simple XML structure and I would expect this to change when the XML  
gets more complex.

myXML = "<node>data</node>";
Application.before_myXML = myXML;                       // 72 bytes
Application.after_myXML = XMLParse(myXML);      // 152 bytes

Cheers,
Ross
On 22/01/2009, at 10:13 AM, Matthew wrote:

>
> @charlie: sorry, I think I lead you a little astray with my response.
> You are right I did want to know both if the output of parsed XML and
> the amount of memory it takes up is large than un-parsed. Your comment
> about all the extra CSS / HTML etc makes sense.
>
> @everyone: I ommited one point from my original post. The reason I'm
> interested in how much bigger parsed XML is is because the error
> emails I was getting were huge (some were 13Mb!!!). I assume that if
> the are big when being outputted in email than perhaps they are large
> when held in memory. The answer may be that the are only large when
> outputted due to all the HTML/CSS etc where as in memory they are
> still quite small because it's just struct/arrays etc.
>
> @barry: don't worry I'm not stuppid enough to do what your predecesor
> did. My data is customer specific!
>
> I'm on CF7 by the way so I can't use the new CF8 feature to work out
> the size of a vaiable.
>
> Cheers
> Matthew
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to