NOTICE: This forum is mostly an archive, though new posts are allowed. Registration may require manual admin activation. After registering visit https://bitsum.com/contact/ to request account activation.
Started by empleat, June 07, 2020, 12:18:06 PM
Quote from: edkieferIt seems to be working here on my end, what are the smarttrim log messages saying?Note it will only trim in 15min intervals as you have it set, should see log every 15min then.
Quote from: Jeremy Collake on June 08, 2020, 07:19:24 AMWearing the SSD is a psychological concern more than technical. I advise to let the system manage your page file size. It is important to have a page file of sufficient size, else you can can get in a situation where you have MORE paging because the system is trying to operate properly within the constraints of that tiny page file.In any event, SmartTrim can only do so much, and isn't going to help you to have a smaller (or no) page file. There quite often won't be anything to page out, and things that are paged out are likely to come right back into RAM as soon as they are referenced. Normally the system already pages out infrequently referenced RAM, as necessary. Probably you aren't seeing any log entries because nothing needs done (everything is under the parameters set).Alternatively, SmartTrim can be set to act or not when Performance Mode is active, so that could be the issue.Finally, clearing the standby list flushes your file cache that normally occupies free RAM, so do that infrequently.
Quote from: Jeremy Collake on June 08, 2020, 06:27:10 PMI am sorry, but there are a lot of misunderstandings here. A page file is an integral part of the virtual memory system. It isn't there solely because of legacy concerns when computers had less RAM. Many processes operate on the assumption that it is there, having infrequently accessed pages stored in it (else they would manage their memory use differently). You generally want unused stuff to be paged out so that your RAM can be used for more important purposes, like a disk cache. Towards that end, you WANT your free RAM to be filled by cached data. It is the fastest storage you have. That is why the free RAM is filled with cache, Windows is doing its best to use it to its maximum advantage.Sure, you could theoretically get by without a page file, but then you have a hard limit on virtual memory, a limit you are apparently exceeding.Your page file isn't normally written out in entirety every time the PC is restarted, though can be zero initialized with some settings.You can get the MTBF data for your SSD and do the math on how long it would take to wear out. There is a reason you don't hear of this ever happening. That is why it isn't a technical concern.The Standby List has nothing to do with any memory leak by a game (though a system memory leak could occur there, in theory). Memory leaks in games would manifest in application virtual memory load.I can't say why your game freezes, but I would caution against making assumptions about the cause.It is not yet clear why SmartTrim isn't operating for you.
Quote from: empleat on June 08, 2020, 08:55:07 PMI am not expert on Windows memory management, but if that was true, than how come: 1. When i have a game e.g. Battlefield 3, which has recommended specs - 4GB of ram. Game freezes/crashes when standby memory is filled without using a page file. This is true even for 16GB ram. It didn't happen only to me... It was infamous, i read many forum posts about this. And even with 32GB ram some games crash, if you don't use a page file! Which should be more than any game could ever need currently. 2. If i clear every bit of standby memory, game works perfectly without freezes afterwards, even standby memory is like 100MB at the moment. If standby memory was so important, than shouldn't game be freezing when there is all of the sudden no standby memory ? Yet it works completely fine without standby memory, this is true for any game!3. Because memory leak game crashes once all free memory is filled with standby memory. Problem here is that standby memory is never released and once all free memory is occupied and game needs something written to memory and there is no space it either:- crashes with, or without some error- freezesIs it only coincidence, that game freezes at the precise exact moment, when there is no more free memory left ? I don't think so. It even says system needs more memory loosely in task manager.4. Why if i use standby memory cleaner set to clean standbymemory often and use no page file, game never crashes/freezes. Except game is freezing on a moment at the exact time standby memory is cleared. But than works perfectly with no standby memory at all.
Quote from: edkiefer on June 09, 2020, 06:43:32 PMOk, on ini file, just open it with notepad and copy/paste it into the post. You can easily open it by going to the menu "file">"manually edit config file".Also, I would like to see logs, take a pic of that would be helpful and I could tell you if smarttrim is trimming a process or if standby is doing anything.Just so you know, to only trim standby you don't need "trim this working set" enabled but I would leave it for the test.I would uncheck "only purge while in performance mode" just to simplify things.I have not tested smarttrim w/o pagefile but i doubt that would change anything.Edit: Tested w/o pagefile and works as it should.FWIW; I game with BF1, BF4 and BFV, when windows 1803 came out there was an issue with standby list that would cause a stutter after free memory was taken by standby list cache. This got fixed or at least improved for many users in 1909.