# High Mender client memory usage?

**URL:** <https://hub.mender.io/t/high-mender-client-memory-usage/691>\
**Category:** General Discussions\
**Created:** [June 11, 2019, 5:47am UTC](https://hub.mender.io/t/high-mender-client-memory-usage/691 "2019-06-11T05:47:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samlewis](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/samlewis/32/393_2.png) [@samlewis](https://hub.mender.io/u/samlewis)\
**Post date:** [June 11, 2019, 5:47am UTC](https://hub.mender.io/t/high-mender-client-memory-usage/691/1 "2019-06-11T05:47:54Z")

</div>

I’m seeing what appears to be quite high memory use from the Mender client on my device when Mender is idle. Is this normal? If not, what should I do to lower it?

Output from top:

```auto
1523 1 root S 839m 169% 29% /usr/bin/mender -daemon

```

`/proc/status` output:

```auto
root@sensor-020000300:~# cat /proc/1523/status
Name: mender
Umask: 0022
State: S (sleeping)
Tgid: 1523
Ngid: 0
Pid: 1523
PPid: 1
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups:  
VmPeak: 859704 kB
VmSize: 859704 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 11324 kB
VmRSS: 11324 kB
RssAnon: 5840 kB
RssFile: 5484 kB
RssShmem: 0 kB
VmData: 84964 kB
VmStk: 132 kB
VmExe: 4336 kB
VmLib: 1400 kB
VmPTE: 44 kB
VmPMD: 0 kB
VmSwap: 0 kB
Threads: 8
SigQ: 0/2935
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe7bfa7827
SigIgn: 0000000000000000
SigCgt: ffffffffffc1feff
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Cpus_allowed: 3
Cpus_allowed_list: 0-1
voluntary_ctxt_switches: 58
nonvoluntary_ctxt_switches: 20

```

`/proc/cpuinfo` for my device in case it is relevant:

```auto
root@sensor-020000300:~# cat /proc/cpuinfo 
processor : 0
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 650.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0

processor : 1
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 650.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0

Hardware : Xilinx Zynq Platform
Revision : 0003
Serial : 0000000000000000

```

`free` output as well, in case it is relevant:

```auto
             total used free shared buffers cached
Mem: 507880 192508 315372 34684 3940 95156
-/+ buffers/cache: 93412 414468
Swap: 0 0 0

```

I’m on Rocko and using Mender 1.7.0.

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [June 11, 2019, 6:04am UTC](https://hub.mender.io/t/high-mender-client-memory-usage/691/2 "2019-06-11T06:04:58Z")

</div>

Similar question here,

> [@RAM consumption by Mender client](https://hub.mender.io/t/ram-consumption-by-mender-client/680):
>
> Hi everybody. I have a question about the RAM consumption by Mender Client. ¿How much is the normal consumption while it is running as daemon but just waiting between server pools requests? I have integrated it manually in a Raspsberry PI3. It works fine (it conects to the server, updates…), but it is consuming a lot of RAM. For the cross-compilation i used this script [https://github.com/mendersoftware/mender-crossbuild/blob/master/go-executable-build.sh](https://github.com/mendersoftware/mender-crossbuild/blob/master/go-executable-build.sh). This is top command information: C…
