No, because the O/S call to allocate memory can allocate either physical memory OR swap file space. It's under O/S control, not the application.
memory leak
What are the memory issues you are having? Where is the performance problem? Describe your problem!
physical
ssddd
it's the page that has been modified in main memory(physical memory), but not yet rewritten in the disk.
No, because the O/S call to allocate memory can allocate either physical memory OR swap file space. It's under O/S control, not the application.
I think so this will help you Virtual memory does not physically exist while physical memory does. Where there is not enough physical memory available for the required application, the application and its data are staged through the physical memory with the excess mapped onto a section of hard disk drive. Using this technique the memory appears to be bigger that it actually is (although it is slowed down by the staging process). The bit on the disk is called the virtual memory.
Look at it this way, Say a application needs something computed by the CPU. That application says to the CPU, "I'm going to send you 500 pieces of data, so I need a space in the memory that is 500 pieces of data big." So the CPU takes a look at the memory. Initially there is room for 10,000 pieces of data, but because there are other processes already running the first 1 - 2,000 pieces are already taken up. The CPU says to himself from piece 2,000 to 2,500 is were all new data is going to go. The physical memory is the address from 2,000 to 2,500. Now the application doesn't realize that there are other processes that the CPU is taking care of. All it sees is the data 1- 500 pieces stored in the memory. This is logical memory. When the application wants to run a piece of data of the 1-500, its says to the CPU run the piece 130. In reality 130 is not even a space in the memory that the CPU has set out for the application. Because remember it was originally 2,000-2500 that was set aside for the application. Piece 130 according to the applications logical memory is in reality piece 2130 in the physical memory. So when the CPU is receiving instructions from the application it has to translate the logical memory in to the physical memory and then back into the logical when replying to the application.
Physical memory, as with all computer resources, is managed by the system. Applications access virtual memory exclusively, no exceptions, ever. Physical memory (RAM), the pagefile, and many other files on the hardisk make up the virtual memory system. This system has been extensively researched and tested and it usually performs very well. Virtual memory is VERY complex, and the designers understand it better than you do.
YOU CAN'T! Virtual memory is a system that is always in use and cannot be disabled. It is not the pagefile and it is not an extension of physical memory. Applications use virtual memory exclusively and never access RAM directly.
The difference between virtual and physical memory is that virtual memory refers to memory space while physical memory are chips like RAM. The memory space for virtual memory is made by operating system when there is insufficient physical memory.
Physical Address refers to Storage location on Physical Memory wheres Logical Addressing is used by Memory Managing Programs to refers addresses from Physical Memory and Virtual Memory.
For an application that exceeds 64k, the memory model should be huge.
The solution to resolving low virtual memory is two part, part one is increasing the physical memory in the machine (RAM). If one can't increase the physical memory then one can increase the page file size. If neither of these work, then there is probably a application that is corrupt on the machine and needs addressing.
Physical memory is how much total memory your computer actually has. Available memory is what memory you have that is not being used.
physical memory
A page fault means that the application requires some data that is not present in the physical memory or RAM. The page fault is generated when an application needs a data that has to be retrieved from the paging file on the hard drive because of its absence in the local memory.