Boot your pc, look carefully at what bios reported, is is reporting your memory is 512MB. Sometime, memory module just got loose from it slots and only able to read less.
Boot your pc, look carefully at what bios reported, is is reporting your memory is 512MB. Sometime, memory module just got loose from it slots and only able to read less.

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99
16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS
$65.00
RAM G. SKILL Ripjaws V Series 32GB 2x16GB DDR4 3200 CL16 F43200C16Q64GVK Matched
$149.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68
Kingston 16GB DDR4 3200MHz PC4-3200AA-SA2-12 Laptop RAM SODIMM (HP32D4S2S8ME-16)
$64.99
[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc.
$299.99
RAM Samsung DDR4-3200AA 16GB SODIMM laptop size
$50.00
MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT
$155.19
Corsair Vengeance LPX 32GB DDR4 3600 MHz Memory DIMM Tested Excellent Condition
$155.00
16GB DDR3 RAM Kit (4x4GB) 1333MHz UDIMM, PC3-10600U Memory, 240-Pin CL9 1.5V
$72.99