Exception in thread "main" java.lang.OutOfMemoryError: Java
heap space:

Answer Posted / kalyan

Hi Lakshman,


*)Dont retrive all records at a time give limit when ever

getting records from database.

*) when ever inserting data into database use BatchUpdate
not prpStmt.executeUpdate(); then it will insert all records
at a time.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

communication between main window and new windows

1701


program to show a progress bar

2125


sample code to auto focusing the first field in a form

2033


how to create a Custom Scrollbar

2048


how to copy form data between different pages

1677






advance the focus to next consecutive fields when Enter Key is pressed

1794


code to get the coordinates of a Click Event

1741


how to transform XML Data into HTML

1897


determine which Element received an Event

1903


maximizing the main window

1634


how to create a Draggable element

1968


function to combine two or more arrays

1701


Create a Menu that can be activated while clicking on Right Mouse button

1705


code to set the main window's size

1706


Reading which Non-Character Key was pressed

1689