How to set REPORT_VIRTUALIZER parameter for jasper reports i java
Here you can find an excellent article on virtualization of Jasper reports. There are links to sample code in the comments.