Jump to content
Changes to the Jaspersoft community edition download ×

Out of memory error in subreports


kumarkaruppanan

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

Note that the built-in XML data source implementation uses DOM to parse the XML content. If you are using large amounts of XML data, then this XML data source is not recommended, as the DOM model is all kept in memory.

 

You should try implement a custom-made XML data source that parses your XML data using SAX, which would allow you to workaround the memory limitations.

 

If you want to know more about implementing data sources, you could take a look at the implementations that we ship with our product, including the ones in the /demo/sample/datasource sample.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...