Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is resultset?

997


What are the types of jdbc drivers that exist?

1013


What is jdbc odbc connection?

980


What packages are used by jdbc?

949


Explain Basic Steps in Writing a Java Program Using Jdbc?

1066


What are the jdbc api components?

1147


What is a merge field?

940


Is java a database?

961


What does it mean to "materialize" data?

1008


List the advantages of using datasource?

997


How the JDBC application works?

951


What is the feature of jdbc v4?

1149


What are the functions of the jdbc connection interface?

979


What is jsp and jdbc?

914


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1024