Thinking maybe there isn't a solution for this, but running this by everyone here to see if maybe there is a solution for this. So I have been playing around with Windows 10 as a gaming system and for the most part everything runs good, however some online flash games that I play I notice start to lag out after playing for about 10 minutes. I tracked this down to Edge starts to grab up gigs of RAM to where only 268MB is free in which a memory compression kicks in and starts to make for lots of hard drive activity. If I exit out of Edge then 3 GB of RAM is freed up. Launching Edge again everything is good and only 1.7GB of 4GB of RAM is in use. Logon to flash based online game and now 2GB of 4GB is in use. I sized the browser window down so I would watch the RAM use and as I was playing the game slowly megabytes of RAM were getting eaten up. Eventually after about 10 minutes or sooner if my browsing activity has me doing more than just the flash game it drops to less than 1GB free and when available RAM drops below 500MB that is when the game starts to lag out and memory compression kicks in around 300MB free. When this lag is happening, the CPU is not very busy but the RAM is full and the game starts to lag out and hard drive activity goes wild with the memory compression.
For the last couple days I have been just exiting the game and relaunching every 10 minutes or so to shed the wasted memory issue which appears to be some sort of caching that this game causes to eat up my RAM. But thinking maybe even though a google search turned up dry on this, maybe there is a way to shut off the caching feature which I believe is causing this issue with Edge. I have a fast internet connection so not sure why it needs to store data locally for the browser and from reading online it appears that its doing this to make performance better, but they are making it worse because I don't need this caching going on. Whenever a frequently needed piece of information is needed I have broadband internet and so just grab a new copy vs a cached copy of what ever object it is.
The game is Forge of Empires
https://us.forgeofempires.com/ which I play with some guys at work who introduced me to it. I have tried Firefox for this game and Firefox lags right at the get go, so I went to Internet Explorer for Windows 7 and no problems at all with Internet Explorer on Windows 7. Then I am trying to force myself to get use to Windows 10 and came across this annoyance of Edge in eating up all available RAM with this game and hoping for a solution without swapping browsers. I haven't tried Chrome yet to see if its the best choice at this point, but if I can avoid using Chrome, I'd like to be able to shut off this caching or purge the cache somehow to keep it from building in which if at all possible I just have a batch running or VBScript running that dumps the Edge Cache every 60 seconds etc if that's even doable I am not sure but just hypothetically speaking of a work around if Edge itself doesn't have a toggle option to shutting off its Caching, maybe the cache itself can be targeted on a timer interval to purge it if its unprotected of purging etc.
Additionally I have seen some people with same issue with Edge being memory hungry and one guy upgraded to 8GB RAM and he just stated that Edge is memory hungry with its caching and more RAM just reduces how often memory compression has to kick in which to me just sounds stupid. How much information has to really be cached. If I had 32GB RAM, could Edge decide to Cache 30.5GB of 99% useless info that can otherwise just be redownloaded on the fly.
Here is where I left off, and that doesn't work as a solution:
https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-msedge/windows-10-edge-using-too-much-ram/fd8dabb2-e218-4b7b-b4ab-dd827be3e7c4?auth=1Additionally to add to this.... I installed Windows 10 Home 64-bit on another computer also with 4GB RAM and a Intel Core 2 Quad Q6600 2.4Ghz and clean install of Windows 10 Home 64-bit running this game right at the get go no software installed and Windows cleanly installed from Microsoft supplied ISO image, Edge starts to eat up the RAM and memory compression kicks in the same. So I know its not just this build. Its something with Edge being memory hungry which I believe to be excessive caching of web content and the flash game Forge of Empires maybe has lots of elements that are cacheable...
The computer by the way runs everything else awesomely well. I downloaded over 300GB of games from my steam library and am testing them out on my new build, and the APU surprisingly is running really well. Games I thought it would choke on its playing at quick FPS like Blades of Time. It will be interesting when I get to testing Witcher 3 if I will cripple the APU. How hard can I push it before I bring that mobile APU the AMD A8-5545m 1.7Ghz with 2.7Ghz Turbo APU to its knees.
Witcher 3 I know if going to be a long shot for it to run but it will be interesting to see just how bad or maybe this APU will surprise me and run it at 30 fps. Here is benchmark for the APU
https://www.cpubenchmark.net/cpu.php?cpu=AMD+A8-5545M+APU the GPU portion of it is around the equivalent of a Geforce GT 730 which isn't high end by any means but can support some gaming with its AMD Radeon HD 8510G.