SHÅKA
04-09-2016, 13:43
Salve ragazzi, conoscete un sistema per resettare (deframmentare diciamo così) la RAM libera senza riavviare il sistema?
Mi occorre perché ho la necessità di allocare una certa quantità di memoria contigua (Large-Page (https://msdn.microsoft.com/en-us/library/windows/desktop/aa366720(v=vs.85).aspx)) e se lo faccio appena avviato il sistema nessun problema (in quanto la RAM è stata resettata con il riavvio), ma se utilizzo la RAM per altre cose (che quindi allocheranno memoria in modo casuale, frammentandola), il sistema mi impedisce di allocare memoria contigua per evitare un decremento prestazionale:
«Large-page memory regions may be difficult to obtain after the system has been running for a long time because the physical space for each large page must be contiguous, but the memory may have become fragmented. Allocating large pages under these conditions can significantly affect system performance. Therefore, applications should avoid making repeated large-page allocations and instead allocate all large pages one time, at startup.»
Mi servirebbe pertanto deframmentare la RAM libera sul sistema senza riavviarlo. È possibile?
Mi occorre perché ho la necessità di allocare una certa quantità di memoria contigua (Large-Page (https://msdn.microsoft.com/en-us/library/windows/desktop/aa366720(v=vs.85).aspx)) e se lo faccio appena avviato il sistema nessun problema (in quanto la RAM è stata resettata con il riavvio), ma se utilizzo la RAM per altre cose (che quindi allocheranno memoria in modo casuale, frammentandola), il sistema mi impedisce di allocare memoria contigua per evitare un decremento prestazionale:
«Large-page memory regions may be difficult to obtain after the system has been running for a long time because the physical space for each large page must be contiguous, but the memory may have become fragmented. Allocating large pages under these conditions can significantly affect system performance. Therefore, applications should avoid making repeated large-page allocations and instead allocate all large pages one time, at startup.»
Mi servirebbe pertanto deframmentare la RAM libera sul sistema senza riavviarlo. È possibile?