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

code to Hide and Show form controls

1810


how to Auto Scroll the page

1633


how to create Expandable and Collapsible Menus

2656


Reading which Non-Character Key was pressed

1691


create Drop-Down Navigation Menus

1705






how to pass data between pages using Cookies

1850


how to Scroll a DIV content

2161


code to create a new window

1754


how to get the User's Time of Day

1673


code to keep a page Out of the browser history

1653


code to detect availability of cookies

1786


how to convert between arrays and strings

2109


how to create a Draggable element

1968


Create a ViewState Property?

2288


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: