anandharaj Posted August 14, 2008 Share Posted August 14, 2008 Hi,Can anyone here help to on how to tune Java/Tomcat? Im been using JS quit some time ago but the only problem that im facing is "Java out of memory". I have done some changes on JAVA " -Xms512m -Xmx512m -XX:PermSize=32m -XX:MaxPermSize=128m -Xss2m" and also the "fileVirtualizerFactory" in applicationContext.xml file.Testing was done in 32bit and 64bit platform, Java 1.6.0_06 and Tomcat 6.0.16Any expert here who can help me? Link to comment Share on other sites More sharing options...
tkavanagh Posted August 19, 2008 Share Posted August 19, 2008 Hi Anandharaj,Hmm, I'm surprised your getting out of memory errors after bumping up your memory settings. I would definitely recomment 1024m or even more (particularly if you have a 64bit machine! ;-)The heap space is the simplest thing to increase and should have the most impact. If you take a look at the Install Guide, it has a section on JAVA_OPTS settings which has specific settings for garbage collection under 1.5 and 1.6. Let me know if this helps.-Tony Link to comment Share on other sites More sharing options...
anandharaj Posted August 21, 2008 Author Share Posted August 21, 2008 Hi Tony,I have done the changes as per the documentation and also increse the JAVA heap memory...but still no luck... Link to comment Share on other sites More sharing options...
swood Posted August 22, 2008 Share Posted August 22, 2008 Is it particular reports that are causing the problem? Lots of users? ShermanJaspersoft Link to comment Share on other sites More sharing options...
anandharaj Posted August 23, 2008 Author Share Posted August 23, 2008 Hi,Basically, if the expected report result is more than 10K rows, than i recieve this error.So, whenever user want to extract huge report (rows = 50K), i will generate from backend.. When i generate huge report from JS, i monitor the process both JS and DB site, so basically DB return the result within 5 minutes, but then the JS (Java) not able to process the result and through the Java heap error. Link to comment Share on other sites More sharing options...
swood Posted August 25, 2008 Share Posted August 25, 2008 How many pages is a report with 10K rows? The virtualizer caches on a page by page basis.Are you using v3? There was a bug fixed that virtualized the exported content. In 2.1 and before, the exported content was all in memory until the export finished. ShermanJaspersoft Link to comment Share on other sites More sharing options...
anandharaj Posted August 27, 2008 Author Share Posted August 27, 2008 Hi Sherman,For all reports, i have disable the pagination, so all report will have only one page.I have done the testing on JS 3 as well before push to production, im getting the same error...but i'll try one more time and let you know the outcome. Link to comment Share on other sites More sharing options...
fbarajas Posted December 19, 2008 Share Posted December 19, 2008 i'm curious if you found a solution. thanks Link to comment Share on other sites More sharing options...
anandharaj Posted December 22, 2008 Author Share Posted December 22, 2008 Nope, i still having the problem.... :( Link to comment Share on other sites More sharing options...
lucianc Posted December 22, 2008 Share Posted December 22, 2008 As Sherman stated, JasperReports virtualizers work by virtualizing individual report output pages. Therefore, if you disable pagination for a report, the output will consists of a single (very long) page, and virtualization would be ineffective for this reports.For the moment (maybe we will change the virtualization process to cover non-paginated reports as well in the future), the only solution is to allocate sufficient JVM memory for the reports to run.Regards,Lucian Link to comment Share on other sites More sharing options...
anandharaj Posted March 17, 2009 Author Share Posted March 17, 2009 Hi Lucianc, I'll put this as feature request in Tracker Link to comment Share on other sites More sharing options...
rajasekarann Posted June 8, 2009 Share Posted June 8, 2009 HiIs the issue "virtualization not done for non-paginated reports" fixed?With ThanksRaj Link to comment Share on other sites More sharing options...
lucianc Posted June 9, 2009 Share Posted June 9, 2009 rajasekarannWrote: Is the issue "virtualization not done for non-paginated reports" fixed? Nope, still open.Regards,Lucian 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