Jump to content
We've recently updated our Privacy Statement, available here ×

mmuster

Members
  • Posts

    2
  • Joined

  • Last visited

mmuster's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi! We are now using the latest version of JR (3.6.1). The system works fine for some days, sometimes only one day. Sometimes the server recovers and the full gc's he's performing are helping. I can't reproduce the problem on my local system, maybe I don't have enough test-cases... I was wondering, if the threaded version of the JR might be the cause of the problem since threads are not allowed in a Jboss container. I will try and use the javaflow version! Do I still have to use a properties file or is it by default enabled? I will also check the design of the reports and try the govenor... Thanks for your help, M.
  2. Hi! In our webapp we are generating a pdf file from a backing bean. We only render one page with at most 40 elements. This page is rendered for about 500-1000 times, each in a new complete request. After some time, the server runs out of memory because there are more then 160000 (or even 220000) instances of JRBasePrintPage in exactly on ArrayList in one JasperPrint instance. JasperPrint |____ ArrayList |____JRBasePrintPage |____JRBasePrintPage |____JRBasePrintPage The JasperPrint elment is declared final within the method and should be destroyed, same as the JRDataSource.To my best knowledge, there are no hard references to any of the objects. Why is the JRBasePrintPage not destroyed? Any one got an idea? Thanks for your help! Max Muster Code:JRDataSource dataSource = getBeanFactory().createDataSource( source, configuration );final JasperPrint printer = JasperFillManager.fillReport( getPdfTemplatesOrdner() + templateName, parameters, dataSource ); final byte[] pdfData = JasperExportManager.exportReportToPdf( printer );
×
×
  • Create New...