Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

virtual memory

Former Member
0 Likes
341

by sap standards we use to set the virtual memory =3 x RAM size.

my question is then total virtual memory will be 4 x RAM or(i.e RAM + VM)!!! or only

3 x RAM!!??????//

2 REPLIES 2
Read only

Former Member
0 Likes
298

Hello Balaji,

First, the question about virtual memory, swapping, and memory paging does not really fit to the "Security" topics, so please submit the question into the proper forum thread, e.g. "Database & OS platforms" area.

The virtual memory size is the swap space that OS uses when the RAM is not enough to store the image of a process that is not running in that particular moment (i.e. the process is "swapped" onto the hard-drive swap area). Obviously when you have many processes that have big memory images the OS will need more space to swap them. The process itself does not "know" if its memory block resides on RAM or on swap space. It is up to OS memory manager if the process memory will be located in RAM or swap.

So in summary, 3xRAM means the size of the swap space. All OS processes use RAM and swap. If the processes' images grow beyond RAM + swap (in your case the sum is 4xRAM), then the OS will go in out-of-memory state.

A good article about MS Windows memory management is http://support.microsoft.com/kb/555223

Kind regards,

Tsvetomir

Read only

Former Member
0 Likes
298

thanks alot i get what i want