in

Error on GPU0: out of memory, while I have memory avalidable

I’m trying to mine ETH with GMINER but I’m getting this error

22:11:26 Started Mining on GPU0: GIGABYTE GeForce RTX 3060 Laptop GPU 6GB [0000:01:00.0]
22:11:28 New Job: 2135586 Epoch: #426 Diff: 971.4M
22:11:29 Error on GPU0: out of memory
22:11:29 Stopped Mining on GPU0
22:11:29 Miner terminated, watchdog will restart process after 10 seconds

But I have available memory

Sat Jul 10 22:13:15 2021
+—————————————————————————–+
| NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2 |
|——————————-+———————-+———————-+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 306… Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P3 19W / N/A | 1930MiB / 5946MiB | 1% Default |
| | | N/A |
+——————————-+———————-+———————-+

I’m using Ubuntu 21.04

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

2 Comments

  1. We appreciate all new Redditors on /r/EtherMining and want to ensure you have the best resources available to you.

    Since your account is fairly new, we’d like to remind you about our subreddit’s [**Wiki Guide to Mining**](https://www.reddit.com/r/EtherMining/wiki/index). Please take a look through this guide for answers to common questions.

    *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/EtherMining) if you have any questions or concerns.*

  2. No, you don’t have enough memory available: 2gb (desktop junk) + 4.3gb (DAG) > 6gb (total GPU memory)

    That Nvidia-smi output is clearly after the miner stopped, so it’s only telling you what your memory usage is at idle.

    I see you’re on a laptop, so that GPU is going to be your primary/only display adapter, right? And the desktop environment is going up take up some video memory, that’s what you’re seeing there (~2gb). You need at least 4.3gb free to start mining and you don’t have it.

    Not 100% sure if the nuances of GPU memory management in Ubuntu, but if that ~2gb usage is as low as you can get in normal usage, you might have to start up without the GUI for mining to ensure you have enough free memory.

    There are a few ways to do that:
    https://askubuntu.com/questions/378046/how-to-run-ubuntu-xubuntu-in-a-complete-non-gui-mode

PocketDoge Launching Soon. Best Rewards Token on BSC

Some Questions about the London Fork, among other items?