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

function to combine two or more arrays

1865


program to bring a window to the front

1757


code to detect availability of cookies

1927


how to Auto Scroll the page

1788


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

1992






code to images to rollover

2013


How to encode and decode URL strings?

1967


code to get the coordinates of a Click Event

1938


code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

1899


code to Hide and Show form controls

1981


determine which Element received an Event

2071


Code to Block submission of form by pressing Enter Key

2268


how to create an anonymous function

1874


code to positioning of window in certain dimensions

1848


how to create a Draggable element

2108