Re: Paul: Win10 Laptop Using Hard Disk As Memory!
Paul <[email protected]> Sat, 4 Dec 2021 01:32:49 -0500
| Newsgroups | alt.computer |
|---|---|
| Organization | Aioe.org NNTP Server |
| Message-ID | <[email protected]> |
On 12/4/2021 1:12 AM, JJ wrote:
> On Fri, 3 Dec 2021 13:34:09 -0500, Paul wrote:
>>
>> If I apply the memory squeezing line, the machine launches
>> programs "almost as fast as a real computer". It's sad really.
>
> That's due to memory block fragmentation. That tool allocates multiple
> non-swappable continous memory block as many and as large as possible. It
> forces all swappable memory blocks in RAM of other applications to be moved
> into paging file.
>
> When the memory is released, it leaves large continuous free memory spaces.
> i.e. it preallocates continuous free memory space. So the system doesn't
> need to move swappable memory blocks in RAM when loading big a application,
> because there's enough continuous free memory space already.
>
> So, even if there's enough free memory space, it doesn't mean that it has
> enough continuous free memory space for an application if it needs one. If a
> continous memory space is required and there is not free continuous memory
> large enough for it, memory swapping will occur to make the needed
> continuous memory space - and that will add more time.
>
> When free continuous free space can not be achieved, the continuous memory
> allocation will fail. However, the system will report a generic "not enough
> memory" error message, which is too ambiguous. It is why sometimes big
> applications - usually games, complain that there isn't enough memory even
> though the user see that there's enough free memory.
>
Yeah, this is immediately after a reboot :-/
It's not an uptime-related issue.
Maybe I should be doing a boot trace with ProcMon
and see if I can spot something new going on.
Paul