Memory allocation is handled by the operating system. It attempts to allocate new memory from what is currently available but not assigned. If you are requesting and releasing memory in the same amounts, it should not result in any significant change in the allocation strategy. There is an excellent chance you will reclaim much of the same memory that you had requested and released earlier.
But the memory has to be consecutive. If windows does not have a large enough unallocated block, it then attempts to find some way to recluster the assigned memory to create a larger block that will meet your need. It can also attempt to unload one or more processes from physical memory into virtual memory on the hard drive (the Swap memory area) to meet your need. This can result in a significant slowdown of your machine.
Several products attempt to optimize memory usage of your system my attempting to free memory that is tied to processes that are no longer running, or to condense memory into tighter structures so that there are more large blocks available to the memory allocation process when it needs them. If these work as intended, you may find that your machine performs better overall. You may also find that there is less liklihood that the cycles described above will seriously effect performance of your system. Some of these utilities have names like TurboMem, Memory Zipper, and so forth. I personally use Memory Zipper, having done speed trials of several products, and found that it keeps more memory open and my machine tends to run faster. But I have not tried every program of this nature out there.
But the memory has to be consecutive. If windows does not have a large enough unallocated block, it then attempts to find some way to recluster the assigned memory to create a larger block that will meet your need. It can also attempt to unload one or more processes from physical memory into virtual memory on the hard drive (the Swap memory area) to meet your need. This can result in a significant slowdown of your machine.
Several products attempt to optimize memory usage of your system my attempting to free memory that is tied to processes that are no longer running, or to condense memory into tighter structures so that there are more large blocks available to the memory allocation process when it needs them. If these work as intended, you may find that your machine performs better overall. You may also find that there is less liklihood that the cycles described above will seriously effect performance of your system. Some of these utilities have names like TurboMem, Memory Zipper, and so forth. I personally use Memory Zipper, having done speed trials of several products, and found that it keeps more memory open and my machine tends to run faster. But I have not tried every program of this nature out there.