I've been trying out several XMR miners the past week and decided to go with sgminer 5.5.5 for my GPUs (hardware list at the end of this post) as it was pretty much the only one that didn't crash straight away. When sgminer runs it works great but over time I notice that the memory usage for the whole system goes up, and up, and up over the course of two days. This goes on until all the RAM has been committed and the swap memory starts filling up too. At that point sgminer crashes and Visual Studio's JIT debugger intercepts it. Alas, when I attach the debugger the process has already quit and there's nothing, not even a stack trace, to analyze.
I did get to use RAMmap.exe (from SysInternals) to see where all my memory had gone and found it to be stuck in a 16GB section of shared memory. I tried to print the contents of this memory using handles.exe from SI but couldn't find any references to sgminer. If you have any tips that could help me analyze this memory please share them. But you developers will probably know straight-away where you're using shared memory.
After I quit the debugger and release sgminer for the final cleanup some of the memory is release but most of it still stuck in a 13GB section of shared memory. I have to reboot in order to clear out the memory and get a working system again. For now the work-around is to create a 'daily reboot task' in Window's task scheduler to clear out all the memory.
I also use the same sgminer version on my dedicated miner. This one runs on Windows 7. But, here it has been running for over a week now without any increase in memory usage.
My hardware and software are:
sgminer 5.5.5
Windows 10 Home, version 1703.
AMD driver 17.10.2
Ryzen R5 1600
Sapphire Radeon R9 280x
Asus Radeon RX 550 4GB version
16GB (2*8) DDR4 RAM (brand: G.Skill Ripjaws)
MSI Game Pro Carbon motherboard, BIOS updated with the AGESA 1.0.0.6 update.
A fixed virtual memory size of 16 - 24 gigabytes.
I keep everything updated on this computer as it's my main desktop. Mining is just a little something it does when I'm not using the machine. I also use xmr-stak-cpu to keep the Ryzen busy.
Hardware/software on the dedicated miner:
3x Asus Radeon RX550 4GB
1x Sapphire Pulse RX550 4GB
Gigabyte GA-990FXA-UD3 motherboard, most recent BIOS and with an accidentally short-circuited PCI-e bridge controller chip.
AMD Phenom X4 620 CPU.
4GB of DDR3 ram, brand I can't recall
Windows 7 SP1, all updates.
AMD 17.10.2 driver.
A fixed virtual memory size of 16 - 24 gigabytes.
Hi,
I've been trying out several XMR miners the past week and decided to go with sgminer 5.5.5 for my GPUs (hardware list at the end of this post) as it was pretty much the only one that didn't crash straight away. When sgminer runs it works great but over time I notice that the memory usage for the whole system goes up, and up, and up over the course of two days. This goes on until all the RAM has been committed and the swap memory starts filling up too. At that point sgminer crashes and Visual Studio's JIT debugger intercepts it. Alas, when I attach the debugger the process has already quit and there's nothing, not even a stack trace, to analyze.
I did get to use RAMmap.exe (from SysInternals) to see where all my memory had gone and found it to be stuck in a 16GB section of shared memory. I tried to print the contents of this memory using handles.exe from SI but couldn't find any references to sgminer. If you have any tips that could help me analyze this memory please share them. But you developers will probably know straight-away where you're using shared memory.
After I quit the debugger and release sgminer for the final cleanup some of the memory is release but most of it still stuck in a 13GB section of shared memory. I have to reboot in order to clear out the memory and get a working system again. For now the work-around is to create a 'daily reboot task' in Window's task scheduler to clear out all the memory.
I also use the same sgminer version on my dedicated miner. This one runs on Windows 7. But, here it has been running for over a week now without any increase in memory usage.
My hardware and software are: sgminer 5.5.5 Windows 10 Home, version 1703. AMD driver 17.10.2 Ryzen R5 1600 Sapphire Radeon R9 280x Asus Radeon RX 550 4GB version 16GB (2*8) DDR4 RAM (brand: G.Skill Ripjaws) MSI Game Pro Carbon motherboard, BIOS updated with the AGESA 1.0.0.6 update. A fixed virtual memory size of 16 - 24 gigabytes.
I keep everything updated on this computer as it's my main desktop. Mining is just a little something it does when I'm not using the machine. I also use xmr-stak-cpu to keep the Ryzen busy.
Hardware/software on the dedicated miner: 3x Asus Radeon RX550 4GB 1x Sapphire Pulse RX550 4GB Gigabyte GA-990FXA-UD3 motherboard, most recent BIOS and with an accidentally short-circuited PCI-e bridge controller chip. AMD Phenom X4 620 CPU. 4GB of DDR3 ram, brand I can't recall Windows 7 SP1, all updates. AMD 17.10.2 driver. A fixed virtual memory size of 16 - 24 gigabytes.