Discussions

General J2EE: OutOfMemmoryError

  1. OutOfMemmoryError (1 messages)

    Hi All:

    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 ???

    Thanks

    Threaded Messages (1)

  2. XML DOM[ Go to top ]

    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.

    http://www.openrdf.org/

    Jeryl Cook
    http://pharaohofkush.blogspot.com/