# Victoriametrics VM\_memory\_allowedBytes not work

**URL:** <https://forums.percona.com/t/victoriametrics-vm-memory-allowedbytes-not-work/24571>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [August 21, 2023, 12:30pm UTC](https://forums.percona.com/t/victoriametrics-vm-memory-allowedbytes-not-work/24571 "2023-08-21T12:30:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TangHong](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@TangHong](https://forums.percona.com/u/TangHong)\
**Post date:** [August 21, 2023, 12:30pm UTC](https://forums.percona.com/t/victoriametrics-vm-memory-allowedbytes-not-work/24571/1 "2023-08-21T12:30:22Z")

</div>

## Description:

victoriametrics VM\_\* varible not work

## Steps to Reproduce:

1、add part of values.yaml as follow  
pmmEnv:  
VM\_memory\_allowedBytes: “500MB”  
2、helm install pmm use updated values.yaml  
3、exec -it pmm pod  
4、ps -ef | grep victoriametrics to find out the process id of victoriametrics  
5、cat /proc/$pid/status | grep RSS to watch the rss memory used by victoriametrics  
6、usage long long larger than 500MB

## Version:

pmm-server:2.39.0

## Logs:

[If applicable, include any relevant log files or error messages]

## Expected Result:

[What the user expected to see or happen before the issue occurred]

## Actual Result:

[What actually happened when the user encountered the issue]

## Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 21, 2023, 3:42pm UTC](https://forums.percona.com/t/victoriametrics-vm-memory-allowedbytes-not-work/24571/2 "2023-08-21T15:42:58Z")

</div>

Closing this post. Please use your other post:  
[https://forums.percona.com/t/how-to-config-memory-usage-for-victoriametrics-on-percona-pmm-server-2-37-0](https://forums.percona.com/t/how-to-config-memory-usage-for-victoriametrics-on-percona-pmm-server-2-37-0)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 21, 2023, 3:43pm UTC](https://forums.percona.com/t/victoriametrics-vm-memory-allowedbytes-not-work/24571/3 "2023-08-21T15:43:02Z")

</div>


