>- see footer for list info -<
Wotcha,

I'm using Railo 3.1.2 + Resin 3.1 on an II6 Server. Its all been brill on
toast, thus far.

Now, on this particular website, they have a requirement to build large XML
files produced from SQL Server databases. These XML files can be over 50Mb
in size.

I'm running my SQL statements and building the XML using cfsavecontent
before saving out using cffile and zipping with cfzip. I figured producing
them as appended string variables as opposed to XML variables would save
time, processing and memory.

However, I inconsistently get errors whilst building these files:

Railo 3.1.2.001 Error (Java.lang.outofmemoryerror) - Java heap space

Hmmm. That's not good.

I tracked down the resin.conf  file and changed

<jvm-arg>-Xmx256m</jvm-arg>
to
<jvm-arg>-Xmx512m</jvm-arg>

to try and increase the memory available. I still get the errors.

Anyone have any clues how I can make this go away? I'm sure a comparable
CF8/9 server on the same hardware config machine wouldn't have this problem.
They're not THAT big XML files.

Cheers,
Rich
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to