Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space
807598Jun 22 2006 — edited Jun 22 2006Hello,
I am getting the following error when i execute the following loop. This program in swing.
while(rs.next())
{
}
where rs is resultset which need to execute 23,489 times. After 10 % , I am getting the following error. I search in google but i did not get the exact solution.. My Operating System is Window XP and Java environment is Jdk 1.4.05. Database ms sql server 2000.
I would be appreciate to you if any one can give some advise to me
Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space
Thanks
Rajnish K
Message was edited by:
rajnishsunjava