Vertx Gateway Memory Consumption Issue. #1342
Replies: 3 comments 4 replies
-
Hi @shekarnode, that looks interesting, thanks for sharing that with us. |
Beta Was this translation helpful? Give feedback.
-
@shekarnode can you please use something like Java Mission Control (JMC) to assess the situation? It's not uncommon for modern Java garbage collectors and JVMs to fairly rapidly expand up to their XMX and then not shrink down (for performance reasons). Hence, to differentiate between that and anything problematic you will need to dig into it a little bit and see what is actually using the memory. JMC has a suite of tools that will allow you to peer into the heap and see what's using the memory in the application (or whether it's just being held by the JVM). Other possible causes could be a Java memory leak or a cache that is expanding indefinitely, etc. Let us know what you find out |
Beta Was this translation helpful? Give feedback.
-
BTW, we don't do any kind of validation/testing on openj9. Why do you use that one? |
Beta Was this translation helpful? Give feedback.
-
Hi Marc,
Trust you are doing well.
We are using vertx as api gateway for our application as I had already mentioned in one of the thread but we are facing very unusual scenario where even in the idle mode memory keeps on increasing. Right now we are running vertx gateway inside docker container with -Xms 1024m but when the system is in idle mode memory keeps on increasing and does come back to normal even if there are no requests.
We have added one policy to attach Transaction ID and we are storing each transaction response code in redis from that policy.
Attaching Graphana chart of the docker container :
Docker file content :
Any suggestions on optimization of vertx gateway ?
Beta Was this translation helpful? Give feedback.
All reactions