answersLogoWhite

0


Best Answer

Your Hard Disk is where programs and data are stored for later retrieval ( excluding virtual memory) . If a program is in execution it has to be loaded in the memory (by memory I mean the RAM), So your Java Heap has to be in the RAM and cannot reside on the Hard disk.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Whether java heap exist in hard disk or ram?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between heap region and hard disk in c language?

The question is a little confusing. The C language doesn't know what a hard disk is. It has library operations for dealing with file systems, but neither knows nor really cares whether those file systems reside on a hard disk or some other form of storage device.


What are the different methods of storing data in a program?

Program data can be stored in the program's data segment, on the stack or on the heap. Constants, static variables and global variables are always stored in the program's data segment. Local variables are always stored on the stack. Dynamic variables are always stored on the heap. User data is typically stored in files, but those files could exist literally anywhere, such as a local hard-disk drive, a file-server or "the cloud". However, data must be brought into working memory in order to operate upon it. Small amounts of data can be allocated within the data segment via static variables but generally you will use the heap. If the data is too large to fit into working memory all at once, use one or more temporary files on one or more local hard-disk drives and pull in what you need as and when you need it.


Is mark heap married?

There is limited publicly available information on whether Mark Heap is married, as he tends to keep his personal life private.


What are advantages of heap file organization?

1) insersection becomes easy in heap file organization. 2) deleation process also becomes easy in heap file organization. 3) searching or retrival of data becomes hard(it take more time).


What is stored on a hard disk as a page file and managed by the operating system?

A pagefile is backup RAM, i would strongly recommend against making this smaller or removing it as if your RAM is filled and you have no RAM then your system will fall in a heap. Of course, if you have 16GBs of RAM, feel free


What is the difference between binary heap and binomial heap?

The difference between Binomial heap and binary heap is Binary heap is a single heap with max heap or min heap property and Binomial heap is a collection of binary heap structures(also called forest of trees).


Described simply how the scrap heap magnet works?

the magnet is just a large iron disk that, when activated will become magnetic. this is used for picking up objects


What heap means?

It means to heap


What are the names of the Septimus Heap books in order?

1. Septimus Heap: Magyk2. Septimus Heap: Flyte3. Septimus Heap: Physik4. Septimus Heap: Queste5. Septimus Heap: Syren6.Septimus Heap:Dark (coming summer 2011!)7.Septimus Heap:(Untitled) unknown date for coming


What is the birth name of Todd Heap?

Todd Heap's birth name is Todd Benjamin Heap.


Is heap a collective noun?

Yes, the noun 'heap' is used as a collective noun for: a heap of trash.


What is the collective noun for ruins?

mass