i am getting out of memory error while filling a JasperReport for more than 45,000 rows. anyone got a hint. i am using Tomcat 5.0 and i have increased the jvm memory to 512 MG in the catalina.sh file by setting the JAVA_OPTS. i only have 512 MB of ram on my machine. moreover i am using system.gc() to clean up the jvm but still didnt get a clue for it. anyone got an idea