Hi All,

I have looked for other issues on this topic but not seen anything that has 
been of inspiration yet, hoping you guys can help me?

I am trying to read in a file (73MB of xml) onto an OpenBD server with the 
following memory:

JVM Memory Information
Used 247 MB
Free 248 MB
Total 495 MB
Max 495 MBI am getting the following out of memory error when I try to do 
so:

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.io.CharArrayWriter.write(CharArrayWriter.java:105)
at java.io.BufferedWriter.write(BufferedWriter.java:188)
at org.aw20.io.StreamUtil.copyTo(StreamUtil.java:164)
at org.aw20.io.StreamUtil.copyTo(StreamUtil.java:152)
at com.naryx.tagfusion.cfm.tag.tagReader.(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfFile.readFile(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfFile.(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfmlFileCache.loadFile(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfmlFileCache._getCfmlFile(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfmlFileCache.getCfmlFile(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfSession.getFile(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfINCLUDE.loadTemplate(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfINCLUDE.loadTemplate(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfINCLUDE.renderTemplate(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfINCLUDE.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfSAVECONTENT.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfSession.onRequest(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:643)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at com.newatlanta.filters.SearchEngineFriendlyURLFilter.doFilter(Unknown Source)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1302)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:448)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)

This is running on Jetty with the following setting:

export JAVA_OPTIONS="-Xmx512m -XX:MaxPermSize=265m"

This is an AWS t2.micro instance so not massively powerful but I would have 
thought it could read in this file and let me XMLParse it. This fails on 
the cffile action="read" part.

Welcome any suggestions in terms of jetty config etc as Linux is not my 
forte.

Kind Regards,

Lee

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to