Perchik71 / Creation-Kit-Platform-Extended

A collection of modifications, enhancements, and reverse engineered resources for Creation Kit by Bethesda.
GNU General Public License v3.0
38 stars 4 forks source link

The Creation Kit is consuming 2 GB of RAM #22

Closed TheLovelyServine closed 4 months ago

TheLovelyServine commented 4 months ago

I think I found the problem, the CK is now consuming most of my RAM and just locks up randomly and freezes, and I have to close it with task manager. What could be causing this? I don't know why it's eating up my RAM unlike before, but ever since I installed the latest version, I have been dealing with random freezes in the Creation Kit when it gets above 1.5 GB of RAM usage, even when doing something as simple as highlighting an asset. I hope this gets fixed because this is extremely annoying.

Perchik71 commented 4 months ago

I do not know which version you are using, CKPE increases the amount of consumption, about 30% goes to the cache. To make the memory work faster. This is how the memory manager works. Something had to be sacrificed. The mod is primarily aimed at performance. This will not be fixed, as it is a technological feature. The recommended memory size is 8 GB. In general, this volume has already gone out of office use.

If you somehow have ideas on how to make malloc spend about a second of time in 10 million iterations, we can even discuss this using modern AVX2 instructions. Then I am ready to participate in bringing this idea to life. (Edit2: Of course, with reduced consumption of additional memory. Any ingenious ideas for finding free blocks. At the moment, 4096 blocks per clock are being viewed in a suspicious region.)

Edit: By the way, I initially, Set 2 GB as the minimum threshold, if there was no free memory of such a volume, you simply would not even open CK.

Perchik71 commented 4 months ago

I'll close it for now Edit: I want to add that if you can compile, then starting with the commit where the memory leak in the lines is fixed, it will eat less, but do not wait for a miracle.

robertgk2017 commented 4 months ago

For what it's worth 2GB is nothing. CK idles at 4 or 5 for me. And when doing broad edits and data generation it can use 100 GBs Easy

ja231c commented 4 months ago

To put it into perspective: 2GBs of RAM has been a minimum system requirement for 64-bit Windows since Windows 7, which released in 2009.

Skyrim Special Edition and Skyrim Special Edition Creation Kit both list 8GB as minimum.

It is a miracle you have even been able to run the game or CK with 2GBs at all.

I hate to say this, but it might be time for you to upgrade.