if the memory capacity is 700 presently occupied by process
is 690. then another process request space(40)
how this situation handled in java.

Answers were Sorted based on User's Feedback



if the memory capacity is 700 presently occupied by process is 690. then another process request sp..

Answer / db

Whenever memory capacity is fully occupied serialize the extra objects to a File or db. when the memory is free take the objects from the file or db to memory.

Is This Answer Correct ?    2 Yes 2 No

if the memory capacity is 700 presently occupied by process is 690. then another process request sp..

Answer / guest

By using the concepts called threads

Is This Answer Correct ?    1 Yes 1 No

if the memory capacity is 700 presently occupied by process is 690. then another process request sp..

Answer / guest

By using the concepts called threads

Is This Answer Correct ?    0 Yes 0 No

if the memory capacity is 700 presently occupied by process is 690. then another process request sp..

Answer / rohit

garbage collector frees memory

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More Core Java Interview Questions

What is main function purpose?

0 Answers  


What is comparable and comparator interface? List their differences

0 Answers  


What is the difference between abstract class and interface1? What is an interface?

0 Answers  


What is garbage collection? What is the process that is responsible for doing that in java?

0 Answers  


What does localhost mean?

0 Answers  






why Interface used?

0 Answers   HCL,


What is structure of java heap? What is perm gen space in heap?

0 Answers  


Write a program to find the whether a number is an Armstrong number or not?

0 Answers   Aspire, Infogain,


What are user defined exceptions?

0 Answers  


What is the difference between method overriding and overloading?

0 Answers  


Is stringwriter thread safe?

0 Answers  


java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?

1 Answers   Naaptol,


Categories