Jump to content

Ways to reduce memory and cpu usage


simon82

Recommended Posts

Hi all,

 

I'm new the jasper reports. I'm currently developing a web reporting module using struts2,apache and jasper report.

 

I found a few things :

 

1) The CPU(dual core) usage is always 50% or more - when generating reports - large or small size

2) The memory usage will shoot up by 100MB++ or more and then it just stays there without dropping at all.

 

So my question is what are the available methods to reduce the CPU and memory usage further?

 

Thanks.

Simon

 

PS : I had already implemented swap file and use my own custom datasource. In addition,I have tested on a simple application for generating report with dummy data; it also shows 50% of CPU usage. Every time I finish generating reports, I do clear the swap file.

Post edited by: simon82, at: 2008/03/31 03:31

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...