Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Heap, Virtual, and Physical Memory

843829Oct 24 2007 — edited Jan 3 2008
Q. How does Heap relate to the virtual memory being used in a OS?
Q. Do java processes use only heap memory?
Q. Does heap memory only use physical memory or can this also be virtual OS memory.

From what I read, it seems that heap memory is only physical contiguous memory and that java objects are loaded into this memory. That would seem to say that java applications do not use OS virtual memory. Or do only java objects load into heap, but actual data loads into virtual memory.

Generally this is for Linux and Windows kernels.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 31 2008
Added on Oct 24 2007
12 comments
4,694 views