Latest java memory virtual Weblinks:
- Re: how to get physical memory address from virtual memory address
This is not a task that should be performed by the user-level process. You can't for example test the memory which is permanently mapped by kernel (which user-level process is not allowed to access). For memory diagnostics, tools specifically crafted for such tasks should be used (such as memtest86).- Re: how to get physical memory address from virtual memory address
Hi all, Thanks for the response from you all. My aim is to execute SDRAM diagnostics code to find which part of SDRAM chip is failed. So in code, I am using malloc to allocte available free memory and then locking the memory using mlock. I think once the mlock is done the pages what ever is allocted during malloc will be in theJava virtual machine The Java virtual machine or JVM is a virtual machine that runs Java byte code, the code produced by a Java compiler or compilers from other languages which produce this code. Programs written in Java are compiled into a standardized portable binary format, which typically c- Re: how to get physical memory address from virtual memory address
Of course, you are wrong. Virtual addresses /only/ have corresponding physical addresses when they are used in a memory reference. Pure "allocation" (malloc()) doesn't result in a memory reference, so no real address is assigned. (FWIW, this is why the OOM killer works the way it does - it kills processes that have allocated memory- Re: how to get physical memory address from virtual memory address
Hari wrote: You have to do this in the kernel. Firstly, the page obviously has to be nailed down (unswappable). Otherwise it has no fixed physical address. When paged out, it has no address at all, and may get a different physical address each time it is paged out. You can do this using the get_user_pages() kernel function, which will- Editing the memory settings for a Java application
Editing the memory settings for a Java application- How to fix virtual memory
Ok i just got 2gigabytes of ram for my emachine t1842 1.8 ghz cpu and i need to adjust the virtual memory for it..does anyone know good numbers that i can adjust it to based on the comp?- Re: how to get physical memory address from virtual memory address
Unless of course the memory is swapped out at the moment, which is entirely possible after a fresh malloc() of a big chunk of memory. Correct
FREE NEWSLETTER
|
| Latest News, and Special Offers on Memory enter your name and email address here: |
|
|
|
|