There is a lot of misinformation wrt Physical RAM usage. I doubt very much that any crash described here was due Physical RAM usage or overload.
If it was a Physical RAM issue - WINDOWS would warn you and ask you to turn down your settings, and if you didn't WINDOWS would crash with a BSOD (Black or Blue). TS can address up to 4GB Physical RAM without any dramas and any excess could be cached into the paging file.
The reason that crashes occur when using the editor is due to the Virtual Address Space VAS (or Process Address Space). This has nothing to do with Physical RAM!
VAS: Every program that runs under windows has to be loaded into its own virtual address space, so that when the program crashes it does not bring down windows as well. (As it used to in earlier Windows versions).
This VAS has nothing to do with how much Physical RAM is on board it is for a 32-bit app like TS2017 a MAXIMUM of 4GB. That would be still true if only 1GB or 192 GB of RAM was installed.
Now it gets complicated:
A 32-bit app (TS) running under windows 32 -bit gets 4GB VAS BUT 2GB is allocated to the system, leaving 2GB for windows, BUT the video card VRAM also needs some of the VAS leaving a small amount for TS. That is why a 32-bit OS is not good for TS.
If you use a 64-bit OS - TS still gets 4GB but this time it gets all 4 GB as windows 64-bit has up to 8 TERABYTES of VAS to utilise.
Now as TS loads and plays (or any 32-bit app) the VAS can fragment and start to lose contiguous space for TS to load into. Further, as you edit in TS, the VAS becomes more and more fragmented and there is less contiguous space for TS to load into (for the editing process) and it only needs as little as 1MB of VAS to be fragmented at a specific address and TS will crash. Saving TS continually during editing will clear the VAS and help prevent crashes.
Also as the code becomes more intense you can experience the so called 'hard page faults' (not really faults! What it means is the that Windows OS has "loaded" the TS code but has yet to "pass" it on to the cpu and Physical RAM. This will result in a xC0000005 error in event viewer. If the fault is serious enough TS will crash.
We need to clarify it is not a MEMORY (Physical RAM) issue it is a Virtual address Space (VAS) issue that will have disappeared with TSW.
The fix, there isn’t one due to 32-bit structure. However, I offer a couple of (partial) fixes that may or may NOT work:
Neither fix is 100% foolproof and may need registry hacks for optimal results. These fixes are primarily for windows server but they do work in Windows 7 to 10.
Change the settings in the DeskTop Heap (Google)
https://www.ibm.com/support/knowledgece ... inreg.html and
https://social.technet.microsoft.com/Fo ... server8gen
Change the settings in the HeapDeCommitFreeBlockThreshold in the Registry
https://technet.microsoft.com/en-us/lib ... g.65).aspx
What does this do?
This value specifies the number of freed bytes above which the heap manager de-commits the memory (instead of retaining and re-using the memory). If you set this registry key to a high value (for example, 262144), the heap manager is more effective when making sure that no bytes are de-committed.
Therefore, virtual address fragmentation is lessened or even avoided.
Note: You may still get "OOM errors"/TS shutdowns particularly after TS2017 has been running/edited for some time and this would probably be due to the total depletion of the 4GB VAS.
Cautionary Note:
The reason I have hesitated about publishing this is that I can't be sure that the decimal value of 262144 (256 MB) is the optimal value for a 64-bit OS and there may be a better figure for this version of Win 7-10. I have now tried a figure of 524,288 (512MB) =0x80000 and this works without incident, but it still may not be the optimum value.
This tweak is quite complex and should only be used by experienced simmers with extensive computer experience. I make no guarantees and it should be used at your own risk. I have not seen any issues my system, but that is not to say that it won’t impact adversely on your set up. It is not a universal panacea and it may not work in every situation.
However, the latter has more chance of “success”, but may need extensive experimenting to get the best value.
My advice – forget about RAM it very rarely causes any issues unless it is faulty. RAM does NOT care if your app is 32 or 64-bit, it is allocated automatically by the system.
pH