

Open your game installation directory, then go to "bin_x64" dir and then to "host" dir Copy and paste CoherentUI_Host.exe file in this directory. Rename copied 2nd exe file to ''CoherentUI_Host_Real.exe" Save this code as "coherent.reg":

Code: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CoherentUI_Host.exe] "Debugger"="D:\\stable\\bin_x64\\host\\CoherentUI_Host_Real.exe --renderer-process-limit=5" Open this file with any proper text editor (e.g Notepad++) Replace "D:\\stable\\" with path to your PA installation directory.

Don't forget to use double backslashes! Change limit of renderer processes to one you like to use.

By default PA spawn 32 of them and for me 5 work well enough for me. Save file. Now add it to registry by clicking on it few times or import it using regedit tool. Run game in PA! Watch process list in Task Manager! Now every time when system try to spawn any file that called "CoherentUI_Host.exe" it's will be redirected to "CoherentUI_Host_Real.exe" with additional command line argument.



This trick will cause issues with any other games using Coherent UI, but there not that much of them and hopefully in future someone will found better way to implement it. You can remove this hook using "regedit" tool.



Obviously you need to watch for game changes. E.g if CoherentUI_Host.exe will be updated you'll need to copy new file to avoid issues.



PS: You might also want to use bat script created by @

https://forums.uberent.com/threads/...ory-usage-on-windows-linux.63043/#post-981737 Step by step instruction:Now every time when system try to spawn any file that called "CoherentUI_Host.exe" it's will be redirected to "CoherentUI_Host_Real.exe" with additional command line argument.You can remove this hook using "regedit" tool.Obviously you need to watch for game changes. E.g if CoherentUI_Host.exe will be updated you'll need to copy new file to avoid issues.PS: You might also want to use bat script created by @ a2razor Click to expand...



Open directory where you have game installed and then open "host" sub-directory In "host" sub-directory rename "CoherentUI_Host" to "CoherentUI_Host.bin" Then in same directory create file called "CoherentUI_Host" with this contents:

Code: #!/bin/bash ARGS="--renderer-process-limit=5" exec -a "$0" "./CoherentUI_Host.bin" $ARGS "$@" [*]You can as well change process limit from 5 to any other you like.

By default PA spawn 32 of them and for me 5 work well enough for me.

[*]Set executable permissions using GUI or command line:

Code: $: chmod +x CoherentUI_Host Step by step instruction:[*]You can as well change process limit from 5 to any other you like.By default PA spawn 32 of them and for me 5 work well enough for me.[*]Set executable permissions using GUI or command line:You can also try to toy with "--single-process" flag, but it's not going to decrease memory usage a lot and it's less flexible. Click to expand...



@ Someone have to make how-to for this platform... wondible needed... Click to expand...

Outdated data, do not use!.........PA using middleware called Coherent UI which is based on Chromium browser and allow to create user interface using HTML / CSS / JavaScript / etc. It's really powerful tool, but with recent PA UI changes it's started to eat too much memory ~2GB RAM on Windows and up to 2.7GB on Linux.Reason of this problem: interface in PA split into multiple web pages called "view" and each of them spawn new process [ link ]. Uber did split UI from single page into multiple to increase responsiveness of interface (and this actually did the trick), but downside of this is increased memory usage.Fortunately Chromium provide a lot of configuration options and Coherent support them too so now players with limited RAM able to adjust maximum allowed number of processes. E.g it's might be really useful if you have less than 6GB RAM.On my Windows 8.1 VM default in-game memory usage of all UI processes at 1.6GB RAM. With one renderer thread it's only about 500MB and with limit of 5 renderer processes it's about 700MB.On Linux where Coherent is 64-bit it's save even more RAM. E.g by default UI using from 2.5-2.7GB and with process limit you can easily keep it under 800MB.I didn't made any tests in large scale games with tons of units or mods so it's likely can benefit players even more than this.If you have too few (1-3) renderers threads UI will take longer to load and it's possible might be less responsive (though I didn't notice it), but for players with limited RAM this is a lot better than being out of memory when page file / virtual memory / swap used instead of RAM.How-to: limiting UI renderer processes on Mac:Hopefully in future Uber will able to implement some feature that give everyone ability to choose between UI RAM usage and potential UI responsiveness, but for now this you can try those changes. Enjoy!