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 are the steps involved in establishing a connection using jdbc in java?

1026


Compare jdbc and odbc and how is jdbc required in this context.

987


How you restrict a user to cut and paste from the html page using java programing?

942


Which database is used for java?

1001


What is jdbc architecture in java?

996


What packages are used by jdbc?

995


What is the meaning of batch updates?

1143


What does executeupdate return in jdbc?

1019


Does jdbc use odbc?

1073


What is a merge field?

987


What is namedparameterjdbctemplate?

1035


What is jdbc in dbms?

1105


How can we execute stored procedures using callablestatement?

982


What is device controller?

1138


What is the full form of jdbc?

1088