kumarkaruppanan Posted February 19, 2007 Share Posted February 19, 2007 Actually i designed a reports with 5 subreports , i am using JRXmlDataSource to fill the sub reports . During the sub report filling i got an out of memory error. if anyone known about this plz help me thanks in advance Regards ,Kumar.KPost edited by: kumarkaruppanan, at: 2007/02/19 12:20 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted February 19, 2007 Share Posted February 19, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now