answersLogoWhite

0


Best Answer

Phantom memory is a false memory which doesnt exist in reality .These references are available to collect byGC

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is phantom memory in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When was Kurau Phantom Memory created?

Kurau Phantom Memory was created in 2005.


What is memory leak problemin java?

Memory leaks do not occur in Java as the garbage collector clears the memory which has no references.


2 What is the purpose of garbage collection in java and when is it used?

Garbage collection prevents memory leaks. In Java, the Java Virtual Machine will garbage collect whenever there is memory that has no references.


How you allocate the memory in java?

In Java we need not allocate memory manually. The JVM would take care of allocating as much memory that your objects would require automatically.


In java a class will take memory?

Yes, executing a Java class will require memory just like any other program.


What is java memory leak?

That means a memory leak in a program written in Java. A memory leak means that as the program runs, more and more memory is wasted - usually by being assigned and not de-assigned again. In Java this is not as usual as in other languages, since unused memory is normally reclaimed automatically by the garbage collector.


How programmer can access memmory in java?

You cannot. Java does not allow programmers access to the memory


How can you allocate memory dynamically in Java?

To give java more memory there are a series of steps to follow. To start, go to the computer's control panel, select programs, then go to java settings. This should initiate the Java control panel to pop up. Click on the Java tab followed by the view button. Click on the "runtime parameters" and input the specifics desired. Once finished hit okay then apply and it should increase the memory on your Java.


Who is allocated by java memory?

Objects, mainly.


How do you get memory information in Java program?

You can use the following to find out the memory usage information for a Java Program:Runtime.getRuntime().maxMemory()Runtime.getRuntime().totalMemory()Runtime.getRuntime().freeMemory()


What is the memory overhead of an object in Java?

see http://www.javamex.com/tutorials/memory/object_memory_usage.shtml


For what purpose is Sun Java used?

Sun Java is a computer software aimed at Java users. It's primary purpose is to make use of "immortal memory" allowing for memory to last forever without getting erased or expiring.