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 java applications access the database using jdbc?

524


What is jdbc odbc?

514


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

573


How many types of resultset are there in jdbc?

521


How do I receive a ResultSet from a stored procedure?

517






The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

1662


What is jdbc odbc driver?

571


Is java a database?

494


What do you mean by database connection pooling?

510


What are the higher level apis under development on top of jdbc currently?

485


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

516


What is meant by connection string?

555


What is represented by the connection object?

522


What is a merge field?

493


Describe how the jdbc application works.

522