-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
k/bugSomething isn't workingSomething isn't working
Description
Version Information
Server Version:
2.48.0
CLI Version (for CLI related issue):
version=2.48.0
Environment
EE
What is the current behaviour?
When applying metadata with permissions and allow-rules, we see a significant rise in memory for the Hasura instance.
The largest files/directories that are imported are:
- Our query_collections file, around 2.5MB of size:
2.5M Sep 24 17:36 query_collections.yaml
- Our tables consist of 138 yaml files with a total of 1368K (1.37MB)
➜ tables ls -la
total 1368
Yet importing this enlarges the memory footprint at times to 6.5GB coming from a baseline of around 2GB.
We can ofcourse foresee enough memory, though it seems rather unusual to require this much memory during this action.
Similar to this report:
#10601 (comment)
What is the expected behaviour?
An fairly normal memory footprint considering the size of the metadata files.
How to reproduce the issue?
- Have tables & permissions combined with an allow list of queries
- run metadata apply
- Memory rise
Screenshots or Screencast
Please provide any traces or logs that could help here.
Standard logging, nothing unusual here.
Any possible solutions/workarounds you're aware of?
None
Keywords
Hasura
CLI
Memory
Metadata
Metadata
Assignees
Labels
k/bugSomething isn't workingSomething isn't working