applicaiton error when trying to select/rerieve a lot of data
I got this error message "Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space"
when i'm trying to select/retrieve a total 80000 record from one table
my code is:
ResultSet rstx = statement.executeQuery("select * from employee");
after i'm doing some testing,
it appears that the class ResultSet only able to receive a total data <=2800 record
anything beyond that number will make the application crashing
Is that something related to memory allocated for JVM?
Any Idea how to fix this problem