where is this Heap actually, is it a virtual memory in RAM created by JVM? or is this physical?
When the JVM is started, it's loaded by an operating system into system memory (RAM). The operating system manages the system memory, including determing whether to put the memory where the JVM is executing in physical memory or in virtual memory. The JVM doesn't manage this.
Any decent book on operating system concepts should cover memory management in more detail.
The "Heap" memory used by the JVM is part of the total memory the operating system allocates to the JVM. The JVM does manage what data is in the "Heap", but it has no control over whether this section of "Heap" memory is in physical memory or in virtual memory.
Joined: Nov 02, 2004
hi thank you for ur replies..
few books say that java heap is created by JVM(i.e, after jvm is loaded, heap memory is allocated my jvm ), and few say that heap is a part of memory in RAM allocated to JVM by OS.
and dirk, changed my display name..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com