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...


What causes Out of Memory exception?

Answers were Sorted based on User's Feedback



What causes Out of Memory exception?..

Answer / sitaram

When ever Heap size is full at that time out of memory
exception. To avoid the this exception, we can increase the
Heap size.

Is This Answer Correct ?    8 Yes 1 No

What causes Out of Memory exception?..

Answer / rajshree

during program execution objects are created in the
heap,after using those obejcts jvm should release those
momory space by garbage collection.but if in garbage
collection will not run on those object tha total heap will
be ocupied with those dead objects.
next time when JVM will try to allocate tyhe heap to an
object it wont be able to do so...that time it throws
outOfMemoryException.

Is This Answer Correct ?    5 Yes 0 No

What causes Out of Memory exception?..

Answer / good choice

OutOfMemory Exception occure when the heap size is full of
the objects created by JVM during the programmer execution.

Is This Answer Correct ?    2 Yes 0 No

What causes Out of Memory exception?..

Answer / aashish r. wadhokar

It happens when server memory is not released which is used
by objects declared.
Again it happens when EntityManager comes into picture.
till we do not close EntityManager transaction.

Is This Answer Correct ?    2 Yes 4 No

What causes Out of Memory exception?..

Answer / kamruddin

exception is an event and error that raised to the program
and break the flow of statement.

Uncheacked exception :- airthmetic error

chacked exception:- run time error

unchecked exception :-

1- airthmetic exception.
2- array index of bound exception.
3- array stored in exception
4- class cost exception
5- illegal argument exception
6- null pointer exception
7- negative null size of array exception
8- array found exception.

checked exception:-

1- class not found exception.
2- illegle accesss exception
3- instantation exception.
4- intrupted exception
5- no such method exception
6- no such field exception

Is This Answer Correct ?    1 Yes 18 No

Post New Answer

More Java J2EE AllOther Interview Questions

what protocols does JNDI provide an interface to?

1 Answers  


what is the difference between through and throws?

2 Answers   HCL,


wnet use DAO design in u r project?

1 Answers   Godrej,


What is difference between Application Server and Web Server?

1 Answers   Logica CMG, SCS,


Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...

2 Answers   Span Systems,


How many controlers are there in spring? Plz send me ans

1 Answers   HCL,


Difference between Spring framework and Struts framework?

12 Answers   IBM, L&T, VAM,


What is iterator in the java collections framework? : java collections

0 Answers  


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

0 Answers  


httt method

2 Answers   HCL,


what is difference between web server and application server?

1 Answers   L&T,


what about web architecture?

1 Answers   HCL,


Categories