florian.johannssen Posted October 16, 2015 Share Posted October 16, 2015 Hi Jasper fans,i have a big problem with my jasper server. If I want to execute a simple report which takes time about 2 minutes with around about 600 pages, the jasper server generates several hundred thousands of virt-files inside the tmp directory of my application server.Does anyone know how to solve this problem.Thanks for any ideas and suggestions.Best RegardsFlorian Link to comment Share on other sites More sharing options...
hozawa Posted October 16, 2015 Share Posted October 16, 2015 Have the same problem.The problem is with JasperReports Server. Unfortunately, it's by design.The problem is that JasperReports Server uses Virtualizer when available memory is low. Low memory may be caused by large reports or by many concurrent users running reports.The way to fix this is to increase the JVM memory so Virtualizer won't be used. The other option is to write your own simple Servlet to generate reports. Link to comment Share on other sites More sharing options...
florian.johannssen Posted October 22, 2015 Author Share Posted October 22, 2015 Hi hozawa,I have researched a lot and I think there is a solution. I think it is possible to configure the FileVirtualizerFactory by setting the maxSize from the default 300 to 1000 or whatever. Doing this setting, the Virtualizer will generate Virt-File not until after 1000 pages.Best RegardsFlorian 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