Jump to content

Do I need more RAM or better RAM?

So yesterday I was working on a group project for my software engineering class in which we are making a game using Unreal Engine 4(UE4). I noticed after a while that the editor was becoming laggy and so I decided to see if something was running in the background and using my cpu or gpu. I didn't expect to see that my memory was at 92% usage with UE4 using over 10GB. My pc specs are as follows:

 

CPU: AMD Ryzen 5 3600

CPU Cooler: NZXT X72 Kraken

MOBO: MSI X570-A PRO

GPU: Gigabyte Radeon RX Vega 64 8GB OC

RAM: 32GB(4x8GB) G.Skill TridentZ RGB 3200MHz CL16

Storage: 2TB Samsung 660p M.2 NVMe SSD and 2TB Seagate Barracuda 3.5" HDD

PSU: Corsair RMx 850W

Case: NZXT H710i

 

Does this just mean that I don't have enough RAM to run UE4 or is it maybe too slow? Or could the lag not even be a product of the high RAM usage?

unknown.png

Link to comment
Share on other sites

Link to post
Share on other sites

Click on performance and hit memory. Than show us what pops up, just want to make sure all your ram is showing up properly.

Link to comment
Share on other sites

Link to post
Share on other sites

maybe half of it is in hardware reserved? Go to performance tab and check the memory section

CPU: i7-2600K 4751MHz 1.44V (software) --> 1.47V at the back of the socket Motherboard: Asrock Z77 Extreme4 (BCLK: 103.3MHz) CPU Cooler: Noctua NH-D15 RAM: Adata XPG 2x8GB DDR3 (XMP: 2133MHz 10-11-11-30 CR2, custom: 2203MHz 10-11-10-26 CR1 tRFC:230 tREFI:14000) GPU: Asus GTX 1070 Dual (Super Jetstream vbios, +70(2025-2088MHz)/+400(8.8Gbps)) SSD: Samsung 840 Pro 256GB (main boot drive), Transcend SSD370 128GB PSU: Seasonic X-660 80+ Gold Case: Antec P110 Silent, 5 intakes 1 exhaust Monitor: AOC G2460PF 1080p 144Hz (150Hz max w/ DP, 121Hz max w/ HDMI) TN panel Keyboard: Logitech G610 Orion (Cherry MX Blue) with SteelSeries Apex M260 keycaps Mouse: BenQ Zowie FK1

 

Model: HP Omen 17 17-an110ca CPU: i7-8750H (0.125V core & cache, 50mV SA undervolt) GPU: GTX 1060 6GB Mobile (+80/+450, 1650MHz~1750MHz 0.78V~0.85V) RAM: 8+8GB DDR4-2400 18-17-17-39 2T Storage: HP EX920 1TB PCIe x4 M.2 SSD + Crucial MX500 1TB 2.5" SATA SSD, 128GB Toshiba PCIe x2 M.2 SSD (KBG30ZMV128G) gone cooking externally, 1TB Seagate 7200RPM 2.5" HDD (ST1000LM049-2GH172) left outside Monitor: 1080p 126Hz IPS G-sync

 

Desktop benching:

Cinebench R15 Single thread:168 Multi-thread: 833 

SuperPi (v1.5 from Techpowerup, PI value output) 16K: 0.100s 1M: 8.255s 32M: 7m 45.93s

Link to comment
Share on other sites

Link to post
Share on other sites

"Better Ram" wouldn't affect usage amount.  The program decides how much RAM is used.  I dont know much about UE4editor but is it possible you have too many objects, polygon models or something else software related?

 

Full RAM usage can definitely lag down performance as other programs won't have any memory headroom to make ur PC run smoothly.

Link to comment
Share on other sites

Link to post
Share on other sites

Just opened my project in UE4 and sat here watching the amount of RAM increase from around 2GB to around 14GBCapture.thumb.PNG.f4aebac63150ce83315f79982210946e.PNGCapture.thumb.PNG.ccc9699098f5204f53dff8a5920dcb63.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, xentropa said:

"Better Ram" wouldn't affect usage amount.  The program decides how much RAM is used.  I dont know much about UE4editor but is it possible you have too many objects, polygon models or something else software related?

By better I meant faster. My RAM is 3200 MHz, didn't know if having faster RAM would make any difference with the lag at least. Also, this project really doesn't have much in it at the moment. It is basically just a grid.Capture.thumb.PNG.475ced146491ff494f1b1ecffdaca02d.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

The Performance tab is saying your RAM is running at 2133mhz and not 3200mhz. You aren't using your RAM's rated speed. Go into the BIOS and change the settings so that your RAM is running at 3200mhz and not 2133mhz

MAIN PC:

CPU: Intel® Core™ i9-9900K Processor  Motherboard: Gigabyte Z390 Aorus Pro Wifi  CPU Cooler: Scythe Fuma 2  GPU: EVGA RTX 3080 FTW3 Ultra  RAM: Corsair Vengeance 32GB (4x8GB) 3000Mhz CL15

Case: CoolerMaster TD500 Mesh PSU: Thermaltake GF1 PE 750w Storage: 1TB Western Digital Blue 3D + 1TB Crucial P1 + 1TB ADATA XPG Gammix S11 Pro + 4TB Seagate Barracuda 5400RPM OS: Windows 10 Home

Headphones: Philips SHP9500s   Keyboard: Corsair K70 RGB MK.2 Cherry MX Red  Displays: Gigabyte M27Q (27" 1440p 170hz IPS), Samsung UN32EH4003FXZA (32" 768p 60hz TV)

 

SECONDARY PC:

CPU: Intel® Core™ i3-9100F Processor  Motherboard: ASRock Z390 Phantom Gaming 4-CB  CPU Cooler: Arctic Alpine 12 CO  GPU: EVGA RTX 3060 XC RAM: ADATA XPG 16GB (2x8GB) 2400Mhz CL16

Case: CyberpowerPC Onyxia  PSU: ATNG ATA-B 800w 80 Plus Bronze  Storage: 500GB Samsung 850 EVO + 2TB Seagate FireCuda SSHD 5400RPM    OS: Windows 10 Home

 

Former parts that I've used: Acer XG270HU, Asus Dual OC 2080, Gigabyte Aorus Master 3080, Gigabyte Gaming OC 3080, EVGA XC3 Ultra 3080, EVGA FTW3 Ultra 3080 Ti

Link to comment
Share on other sites

Link to post
Share on other sites

Looks to me like you have some sort of issue in your project, creating a memory leak. I don't think your RAM is faulty here at all.

Main: AMD Ryzen 7 5800X3D, Nvidia GTX 1080 Ti, 16 GB 4400 MHz DDR4 Fedora 38 x86_64

Secondary: AMD Ryzen 5 5600G, 16 GB 2667 MHz DDR4, Fedora 38 x86_64

Server: AMD Athlon PRO 3125GE, 32 GB 2667 MHz DDR4 ECC, TrueNAS Core 13.0-U5.1

Home Laptop: Intel Core i5-L16G7, 8 GB 4267 MHz LPDDR4x, Windows 11 Home 22H2 x86_64

Work Laptop: Intel Core i7-10510U, NVIDIA Quadro P520, 8 GB 2667 MHz DDR4, Windows 10 Pro 22H2 x86_64

Link to comment
Share on other sites

Link to post
Share on other sites

15 hours ago, MrBrightSyde said:

The Performance tab is saying your RAM is running at 2133mhz and not 3200mhz. You aren't using your RAM's rated speed. Go into the BIOS and change the settings so that your RAM is running at 3200mhz and not 2133mhz

Thank you, I did not notice this.

13 hours ago, svmlegacy said:

Looks to me like you have some sort of issue in your project, creating a memory leak. I don't think your RAM is faulty here at all.

This could be an option. I've been following a tutorial on YouTube for creating a grid and using A* path-finding but he speaks all in French so I can't understand him and don't really know if he addressed this issue. I did notice that in the latest video I watched his game did seem to get laggy, so hopefully within the next video or two he does something to fix this error if this actually is the cause.

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, FaTaLMercenery said:

Thank you, I did not notice this.

This could be an option. I've been following a tutorial on YouTube for creating a grid and using A* path-finding but he speaks all in French so I can't understand him and don't really know if he addressed this issue. I did notice that in the latest video I watched his game did seem to get laggy, so hopefully within the next video or two he does something to fix this error if this actually is the cause.

I have 8 gb of 3200mhz RAM but my performance tab is saying its running at 1600mhz...I think this (in my case) is because it is dual channel RAM. I've verified in UEFI that it is, in fact running at 3200mhz.

 

Windows gives out weird memory speed readings I don't quite understand...It probably has to do with running 4 sticks of dual channel memory. I'd refer to UEFI, not what Windows tells you...

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, steelo said:

I have 8 gb of 3200mhz RAM but my performance tab is saying its running at 1600mhz...I think this (in my case) is because it is dual channel RAM. I've verified in UEFI that it is, in fact running at 3200mhz.

 

Windows gives out weird memory speed readings I don't quite understand...It probably has to do with running 4 sticks of dual channel memory. I'd refer to UEFI, not what Windows tells you...

Really? I'm using 4 sticks and I'm running at 3200mhz.

 

2 hours ago, FaTaLMercenery said:

Thank you, I did not notice this.

 

You might want to use CPU-Z to double-check. If it's running at 1066mhz on CPU-Z, your RAM is running at 2133mhz also know at the stock speed for DDR4. If your RAM is running at 1600mhz on CPU-Z, then it might just be a complete memory leak issue that happens in certain programs, like the problems I've had with the game "Empire: Total War"

MAIN PC:

CPU: Intel® Core™ i9-9900K Processor  Motherboard: Gigabyte Z390 Aorus Pro Wifi  CPU Cooler: Scythe Fuma 2  GPU: EVGA RTX 3080 FTW3 Ultra  RAM: Corsair Vengeance 32GB (4x8GB) 3000Mhz CL15

Case: CoolerMaster TD500 Mesh PSU: Thermaltake GF1 PE 750w Storage: 1TB Western Digital Blue 3D + 1TB Crucial P1 + 1TB ADATA XPG Gammix S11 Pro + 4TB Seagate Barracuda 5400RPM OS: Windows 10 Home

Headphones: Philips SHP9500s   Keyboard: Corsair K70 RGB MK.2 Cherry MX Red  Displays: Gigabyte M27Q (27" 1440p 170hz IPS), Samsung UN32EH4003FXZA (32" 768p 60hz TV)

 

SECONDARY PC:

CPU: Intel® Core™ i3-9100F Processor  Motherboard: ASRock Z390 Phantom Gaming 4-CB  CPU Cooler: Arctic Alpine 12 CO  GPU: EVGA RTX 3060 XC RAM: ADATA XPG 16GB (2x8GB) 2400Mhz CL16

Case: CyberpowerPC Onyxia  PSU: ATNG ATA-B 800w 80 Plus Bronze  Storage: 500GB Samsung 850 EVO + 2TB Seagate FireCuda SSHD 5400RPM    OS: Windows 10 Home

 

Former parts that I've used: Acer XG270HU, Asus Dual OC 2080, Gigabyte Aorus Master 3080, Gigabyte Gaming OC 3080, EVGA XC3 Ultra 3080, EVGA FTW3 Ultra 3080 Ti

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, MrBrightSyde said:

Really? I'm using 4 sticks and I'm running at 3200mhz.

 

You might want to use CPU-Z to double-check. If it's running at 1066mhz on CPU-Z, your RAM is running at 2133mhz also know at the stock speed for DDR4. If your RAM is running at 1600mhz on CPU-Z, then it might just be a complete memory leak issue that happens in certain programs, like the problems I've had with the game "Empire: Total War"

Not really sure, I've verified in UEFI and CPU-Z that they are running at 3200mhz. Probably a Windows fluke...

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, steelo said:

Not really sure, I've verified in UEFI and CPU-Z that they are running at 3200mhz. Probably a Windows fluke...

Windows Task Manager is fairly unreliable for these kinds of specs. It seems to think my 3770K does 6 GHz... CPU-Z and the BIOS are trustworthy.

Main: AMD Ryzen 7 5800X3D, Nvidia GTX 1080 Ti, 16 GB 4400 MHz DDR4 Fedora 38 x86_64

Secondary: AMD Ryzen 5 5600G, 16 GB 2667 MHz DDR4, Fedora 38 x86_64

Server: AMD Athlon PRO 3125GE, 32 GB 2667 MHz DDR4 ECC, TrueNAS Core 13.0-U5.1

Home Laptop: Intel Core i5-L16G7, 8 GB 4267 MHz LPDDR4x, Windows 11 Home 22H2 x86_64

Work Laptop: Intel Core i7-10510U, NVIDIA Quadro P520, 8 GB 2667 MHz DDR4, Windows 10 Pro 22H2 x86_64

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/30/2020 at 8:36 PM, MrBrightSyde said:

The Performance tab is saying your RAM is running at 2133mhz and not 3200mhz. You aren't using your RAM's rated speed. Go into the BIOS and change the settings so that your RAM is running at 3200mhz and not 2133mhz

My RAM was actually running at 2133 MHz and a low voltage, I think it was around 1.23V so I changed it to the rated 3200 MHz and 1.35V.

23 hours ago, svmlegacy said:

Looks to me like you have some sort of issue in your project, creating a memory leak. I don't think your RAM is faulty here at all.

I noticed that in my project, if I am working on the blueprints my RAM usage doesn't increase, at least not drastically. Same for when I actually press play for the game. It starts increasing rapidly when I am just looking at the level. I don't have to do anything, simply looking at the level seems to cause my RAM usage to soar. The RAM usage by UE4 also does not change at all when I am focused on another application. Here are some numbers for RAM usage as I "work" with the percent total usage and how much UE4 is using:

 

Launch: 31%   700MB

Level:  38%   3,200MB (approx. 10 seconds

Blueprint39%   3,400MB (after switching from level view)

Level: 44% 4,800MB (approx. 20 seconds)

 

Just for fun: 97% 20,000MB (approx. 10 minutes and was still increasing)

 unknown.thumb.png.fd800ba2d8489d68bd420ab8aaeee8b3.png

 

You can see UE4 RAM usage not changing until I tab into it at which point it rises around 800MB by the end of the short video. 

Link to comment
Share on other sites

Link to post
Share on other sites

Interestingly enough this site seems to list 8 GB of RAM to be recommended for dev work. So to be filling 32 GB with it seems to be an indication of something else being wrong, or some sort of overly aggressive cache setting in the program itself.

Main: AMD Ryzen 7 5800X3D, Nvidia GTX 1080 Ti, 16 GB 4400 MHz DDR4 Fedora 38 x86_64

Secondary: AMD Ryzen 5 5600G, 16 GB 2667 MHz DDR4, Fedora 38 x86_64

Server: AMD Athlon PRO 3125GE, 32 GB 2667 MHz DDR4 ECC, TrueNAS Core 13.0-U5.1

Home Laptop: Intel Core i5-L16G7, 8 GB 4267 MHz LPDDR4x, Windows 11 Home 22H2 x86_64

Work Laptop: Intel Core i7-10510U, NVIDIA Quadro P520, 8 GB 2667 MHz DDR4, Windows 10 Pro 22H2 x86_64

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×