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

mina p

Members
  • Posts

    6
  • Joined

  • Last visited

mina p's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. I have enabled file virtulizer and took heap dumps after that. We are seeing image objects that is 5 times original size of image that is basically happening at filing time. this is causing server to crash...please see image 006 and image 004.png enclosed...
  2. Hello, we are using image element that renders an image dynamically using following: <image onErrorType="Blank"> <reportElement uuid="993e4c74-10c9-4809-adce-d0f0244d48dd" x="162" y="54" width="72" height="89"/> <imageExpression><![CDATA["http://localhost:8080/servlet.html?id="+$F{IMAGE_KEY}]]></imageExpression> <hyperlinkTooltipExpression><![CDATA[" Photo of Last Name "+ $F{LAST_NAME} + " First Name " + $F{FIRST_NAME}]]></hyperlinkTooltipExpression> </image> What we are seeing that when we run the report with the image, there is high gc and eventually the server crashes. We then ran heap dumps and found that very high memory at the time of filling the report. We are using file virtulizer but it doesnt seem to help during filling process. During heap dump analysis we saw, the original image is about 5 mb but what we are seeing is that each image becomes 6 times of the original size and eventually server crashes. It seems like image renderer object is wrapping all kinds of image objects even though we are using only string type in image expression. can you tell why this is going on why image is being inflated 6 times the original size. the heap dumps images are attached here for analysis
  3. I asked my websphere administrator to do some analysis. He mentioned that two users when they ran report resulted in 700mb of session information. That is causing exhausting of heap space. Is that normal with jasper report? I can send you the heap analysis. There is net.sf.jasperreports.engine.base.JRBasePrintPage @ 0xae5621ce type of objects in the memory session. Teodor, can you explain why so much objects are being created in session memory? I am under pressure to get rid of jasper reports from the application so need help. I was told BIRT doesnt have memory issues liek this...We have over 2g of memory and 768mb perm gen space still having issues. i am enclosing the heap dumps after using file virtulizer has been enabled in image 6 and image 4 attached. As you can see there are big image objects in memory and memory objects are 5 times the original size of image . this looks weird why image would be inflated...need help please help...thanks
  4. Thanks for your reply Teodor :)Initially, we were getting OOM ERROR. So now I am using file virtualizer to fill the report and then export the report. THe report is about 200 pages with each page having a different image. Basically, I have a word servlet that first fills the report using virtualizer and then prints it. This happens in one shot. JRFileVirtualizer virtualizer = new JRFileVirtualizer(2, "/tmp/"); JasperPrint jasperPrint = JasperFillManager.fillReport(reportFileName, parameters, abc.getDataSource().getConnection()); JRDocxExporter exporter = new JRDocxExporter(); exporter.exportReport(); we are using version 5.2. what we saw was at time garbage collection hits around 98 percent and then application stops responding. how much memory you recommend. we had around 2300 mb allocated to the application and jasper reports with 768 perm space.
  5. I have a jasper report that is taking long time to export to word document. During export if I do open or save it takes around 15 - 20 mins to export to word document. There are about 300 pages in jasper that needs to be exported to word. There is 5 columns and 6th column is a image that is being pulled from db. Each image is about 2 mb. There are not a lot of rows from db but because of iamge the size of the report is big. What can I do to make it faster as 15 mins is not acceptable. Is there a setting I can try to make it work.
×
×
  • Create New...