HI ALL,
How to Overcome "OutOfMemoryException"? when I am compiling
source having more than 1000 LOC throwing this exception.
Can any one give correct answer to my question? thx

Answer Posted / naseer

To Overcome OutOfMemoryException
there are several things you can do
1.Make unused objects garbage collectable.
2.Avoid excessive object creation.
3.Allocate more memory for the heap.
4.Choose an alternative technique (eg, caching)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you determine the sensitivity of the ResultSet object?

742


What is jdbc in dbms?

699


What is jdbc odbc bridge?

689


How can we store the file in the oracle database?

702


How can I retrieve a String or other object type without creating a new object each time?

867


Which jdbc driver type s is are the jdbc odbc bridge?

640


What is jdbc odbc driver?

751


What are database warnings in jdbc and how can we handle database warnings in jdbc?

798


What are the advantages of database connection pooling?

677


What is benefit of using preparedstatement in java?

684


Is there another way of dealing with the result set that could execute faster?

742


How can I connect mysql or oracle with java?

708


What is JDBC Transaction Management and why do we need it?

732


Which package contains jdbc api?

774


What is transaction processing in jdbc?

746