# QOS 0 Memory Exceeded

**URL:** <https://community.hivemq.com/t/qos-0-memory-exceeded/1788>\
**Category:** Uncategorized\
**Created:** [January 27, 2023, 1:20pm UTC](https://community.hivemq.com/t/qos-0-memory-exceeded/1788 "2023-01-27T13:20:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@Harry](https://community.hivemq.com/u/Harry)\
**Post date:** [January 27, 2023, 1:20pm UTC](https://community.hivemq.com/t/qos-0-memory-exceeded/1788/1 "2023-01-27T13:20:30Z")

</div>

Hi Team  
I have a doubts in HiveMQ QOS-0 memory, Yesterday I received notification in HiveMQ there was Dropped Message: QoS-0 memory Exceeded.  
Also, I checked the logs in HiveMQ, its exceed the memory limit. Below attached the screenshots for your reference.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/hivemq1/original/1X/6a0076c778de89d6cf583a59190bea5fb4e08fe0.png)

There is any limit for QOS-0 memory? or How to find the QoS-0 memory limit?  
Also referred Documentation and previous community questions but its not helpful for me.  
Can you please help me for resolve the issue?

Regards  
Harry.

---

<div class="post-metadata">

**Author:** ![Harry](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@Harry](https://community.hivemq.com/u/Harry)\
**Post date:** [January 27, 2023, 2:03pm UTC](https://community.hivemq.com/t/qos-0-memory-exceeded/1788/2 "2023-01-27T14:03:53Z")

</div>

@hivemq-support

Can you please give some insights into this?

---

<div class="post-metadata">

**Author:** ![hivemq-support](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/hivemq-support/32/357_2.png) [@hivemq-support](https://community.hivemq.com/u/hivemq-support)\
**Post date:** [January 27, 2023, 6:02pm UTC](https://community.hivemq.com/t/qos-0-memory-exceeded/1788/3 "2023-01-27T18:02:50Z")

</div>

Hi Harry,

That error generally boils down to subscribers consuming from topics slower than publishers publishing to them, creating a bottleneck. This is covered in a few places, but some documentation and discussions are below:

[https://www.hivemq.com/docs/hivemq/4.11/control-center/analytic.html#dropped-messages](https://www.hivemq.com/docs/hivemq/4.11/control-center/analytic.html#dropped-messages)

[https://community.hivemq.com/t/qos-0-memory-limit/115](https://community.hivemq.com/t/qos-0-memory-limit/115)

It may seem like a good idea at first to try to increase memory allowance when encountering this error, but in the end it is often a trap - increasing the memory used by the in memory queue without addressing the client consumption problem may only end up giving a higher ceiling before the problem reoccurs.

Thanks,  
Seth - HiveMQ Support

---

<div class="post-metadata">

**Author:** ![Harry](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@Harry](https://community.hivemq.com/u/Harry)\
**Post date:** [January 28, 2023, 3:31pm UTC](https://community.hivemq.com/t/qos-0-memory-exceeded/1788/4 "2023-01-28T15:31:00Z")

</div>

Hi @Seth.HiveMQ @hivemq-support

Thank you for your response Seth,

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/hivemq1/original/1X/3be6ee00663da43f711a07f8ced4197b5b2fee98.png)

I referred to these topics that you have mentioned it. I have doubts about this,  
We using VM and its Capacity is:  
cpu: 8  
ephemeral-storage: 129886128Ki  
and CPU occupied 51% and storage occupied 29% only. Is there any possible ways to drop the messages?  
(or)  
The Consumers are slowly consuming the messages so that the messages are dropped, right?

From these 2 questions which one is applicable to my issue?

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/hivemq1/original/1X/3c110fdfa3004a8f6491ab3f9c3b130be45846cb.png)

Is there any way to increase the QoS 0 memory limit in HiveMQ?  
or  
How to increase the memory allowance can you please give some insights?

Also, I analyzed HiveMQ logs, and while analyzing the logs I saw there are multiple dropped messages are dropped in different topics. Is there any idea?

Regards & Thanks  
Harry
