• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Memory locking issue...

Joined
Jun 16, 2013
Messages
1,440 (0.40/day)
Location
Australia
System Name Current gaming rig + others...
Processor Ryzen7-7700 @ FCLK-2133 / Core i7-11700K@stock
Motherboard Gigabyte B650 Aorus Elite / MSI Z590 Unify
Cooling Deep Cool AK620 / CM MA620P
Memory ADATA 2x16GB AD5U480016g-B @ 5200 CL38 / NeoForza 2 x16GB 4600MHz CL19
Video Card(s) Asus RX 6800 XT OC edition / iGPU - UHD 750
Storage 1x Kingston KC3000 1TB + 2TB Team A440 Cardea /
Display(s) Samsung 32" Odyssey G5 / Numerous Philips 27 + 28" LCD panels...
Case In transition atm... / Lots of nice cheap cases!
Audio Device(s) Asus Xonar AE 7.1+Razer Tiamat 7.1 / Onboard
Power Supply Corsair RM1000x V2 / Corsair RM750x V2
Mouse MSI Interceptor DS300 + Lots of optical mice!
Keyboard Razer Blackwidow Ultimate Stealth /steelseries 6G V2
Software Win 11 Pro / Win10 x64 Pro
With 16GB of DDR4 in system. The one in "System Specs" of my profile.
Trying to run this with 14+GB of ram for testing purposes, but program reports can't lock memory for testing as it complaines OS or an app is using it.
I only have the OS running with nothing else, it's not even updating OS... etc..
Have to cut it down to 9216MB, & only then can the testing run.

Wondering if this is a bug or not?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
25,707 (3.69/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
This is an issue with MemTest64, no issue with your computer.

It seems to have to do with how I allocate memory, and how Windows like the memory to be allocated, but I haven't found a definitive work around yet.
 
Joined
Jun 16, 2013
Messages
1,440 (0.40/day)
Location
Australia
System Name Current gaming rig + others...
Processor Ryzen7-7700 @ FCLK-2133 / Core i7-11700K@stock
Motherboard Gigabyte B650 Aorus Elite / MSI Z590 Unify
Cooling Deep Cool AK620 / CM MA620P
Memory ADATA 2x16GB AD5U480016g-B @ 5200 CL38 / NeoForza 2 x16GB 4600MHz CL19
Video Card(s) Asus RX 6800 XT OC edition / iGPU - UHD 750
Storage 1x Kingston KC3000 1TB + 2TB Team A440 Cardea /
Display(s) Samsung 32" Odyssey G5 / Numerous Philips 27 + 28" LCD panels...
Case In transition atm... / Lots of nice cheap cases!
Audio Device(s) Asus Xonar AE 7.1+Razer Tiamat 7.1 / Onboard
Power Supply Corsair RM1000x V2 / Corsair RM750x V2
Mouse MSI Interceptor DS300 + Lots of optical mice!
Keyboard Razer Blackwidow Ultimate Stealth /steelseries 6G V2
Software Win 11 Pro / Win10 x64 Pro
This is an issue with MemTest64, no issue with your computer.

It seems to have to do with how I allocate memory, and how Windows like the memory to be allocated, but I haven't found a definitive work around yet.

Thanks, I'm running it again today but with 10240MB this time, it seems happy with that atm.
 

baryluk

New Member
Joined
Nov 3, 2018
Messages
17 (0.01/day)
System Name newblack
Processor AMD Ryzen Threadripper 2950X 16-Core Processor
Motherboard MSI MEG X399 CREATION (MS-7B92)
Cooling Enermax Liqtech TR4 II 360
Memory 4x 16GB Samsung M391A2K43BB1-CRC (2400MT/s) running at DDR4-3200 tCL=17 (10.6ns)
Video Card(s) AMD Fury X (by Powercolor)
Storage 2x Samsung PM983 U.2 4TB, ZFS, NFS, iSCSI, SSHFS, 10Gbps fiber optical Ethernet to 300TB NAS
Display(s) Tripple monitor setup via DisplayPort (Eizo FlexScan EV2730Q)
Case Fractal Design R6 USB-C Blackout
Audio Device(s) USB DAC
Power Supply Seasonic Prime Titanium Ultra 1000W @ 230V + Eaton online UPS
Software Debian sid
Benchmark Scores 400GFLOPS+
Hi I have similar issue. I am running via Wine on Linux, and it fails to lock memory. It is probably because Wine doesn't properly emulate some Windows API (i.e. translate it into mlock / mlockall / mmap(MAP_LOCKED)). I want to run it anyway, because I in fact disabled swap so I know that any real filled anonymous pages are in physical RAM, so they do not need to be really locked. (I am running from Live CD with no hard drives, etc). So a checkbox to run anyway without locking would be nice. :)

Actually please ignore this. I checked ulimit -l and maximal locked memory size for process / user was 16MB. I raised limits / executed from super user, and I can use about 50GB of memory easily with locking. Works good on Wine 3.0.3 (which is pretty old version).
 
Last edited:
Top