mloe Posted July 4, 2012 Share Posted July 4, 2012 Hi,my report (jasper version 4.5.1) with two subreports is running in my grails server infinite. First it run out of memory. Using JRSwapFileVirtualizer showed infinite increasing swap file size.Substituting one of the subreports, regardless of which, by a text field runs fine.Searching the forum lead me to the discussion "Generating Reports in a EJB 2.1 Session Bean".I set the property in report & subreport file: <property name="net.sf.jasperreports.subreport.runner.factory" value="net.sf.jasperreports.engine.fill.JRContinuationSubreportRunnerFactory"/>but the report is still looping. I'm not shure, wether JRContinuationSubreportRunnerFactory is used. Is it possible to check this? Are there any other ideas, to get my problem solved? Thanks, Michael Link to comment Share on other sites More sharing options...
federico.cattozzi Posted July 5, 2012 Share Posted July 5, 2012 You put the subreport into a column or page header?See thishttp://jasperforge.org/projects/jasperserver/tracker/view.php?id=5455 Link to comment Share on other sites More sharing options...
mloe Posted July 5, 2012 Author Share Posted July 5, 2012 Both subreports are part of the detail band: Code: Post Edited by mloe at 07/05/2012 08:07 Link to comment Share on other sites More sharing options...
mloe Posted July 5, 2012 Author Share Posted July 5, 2012 Some more analysis of my problem leads to another probable cause.The subreports increase the height of the field. This might lead to an overflow to a new page similar to "header overflow" exception is not handled.Are there known circumstances to avoid this situation? 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