General J2EE: OutOfMemmoryError
I a trying to create a XML file of size ranging from 50 - 200 MB.As I read the database and start building the XML Elements I get OutOfMemmoryError.
Can anyone shed some light on the cause of this error and a way to get around it ???
You are creating the XML structure in memory using DOM..
try creating the XML strructure from the database on a file system..
if you are trying to map your database in XML, u should use the tool that is meant to do that..a specification called RDF, and a tool call seasme may help you..You would share the RDF(xml) as a view of your database.