# How to increase the message size limit?

**URL:** <https://forum.openreplay.com/t/how-to-increase-the-message-size-limit/65>\
**Category:** Community Guides\
**Tags:** tracker\
**Created:** [March 28, 2024, 8:27pm UTC](https://forum.openreplay.com/t/how-to-increase-the-message-size-limit/65 "2024-03-28T20:27:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave-the-developer](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@dave-the-developer](https://forum.openreplay.com/u/dave-the-developer)\
**Post date:** [March 28, 2024, 8:27pm UTC](https://forum.openreplay.com/t/how-to-increase-the-message-size-limit/65/1 "2024-03-28T20:27:54Z")

</div>

Hello,  
How can I increase the maximum allowed size for messages that the tracker sends over to the backend? My understanding is that the default value is 1MB. In other words, messages above that size will get discarded by the tracker which may mess up with the replays or devtools.

---

<div class="post-metadata">

**Author:** ![mehdi](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.openreplay.com/mehdi/32/50_2.png) [@mehdi](https://forum.openreplay.com/u/mehdi)\
**Post date:** [March 28, 2024, 8:33pm UTC](https://forum.openreplay.com/t/how-to-increase-the-message-size-limit/65/2 "2024-03-28T20:33:34Z")

</div>

Yes, this variable is named `BEACON_SIZE_LIMIT` and it defaults to 1MB. Here how you can increase that:

1. Connect to the OpenReplay backend/instance
2. Run `openreplay -e` to edit the config file and add/update the below `http` block to increase the size (in this example to 10MB):

```auto
http:
  ingress:
    annotations:
      nginx.ingress.kubernetes.io/proxy-body-size: 10m
  env:
    BEACON_SIZE_LIMIT: "10000000"

```

1. Save and quit for the changes to take effect
