On Thu, Mar 22, 2018 at 7:49 AM, Attila-Mihaly Balazs <dify....@gmail.com> wrote:
> If I had to take a guess, I would say that this is because the JVM doesn't > really give back "free" ram to the OS (but it's still available for reuse > from within the JVM). So the console is showing the "OS" level metric while > querying it directly shows the view from "inside" the JVM. > > Attila > ['Jordan (Cloud Platform Support)' via Google App Engine 12:40 AM] > Instead of checking the memory usage of your application's runtime (aka > the Docker container that is running your application) you should log into > your GAE instance (via ssh) and check the memory usage of the actual > running processes. So, that metric on the Console is really about RAM taken from the OS by the JVM. But since a Flex Env image uses the entire GCE instance, it seems that that is not the metric of interest. In other words, if we pay for 100GB Flex Env, then that is a constant from our perspective. What we are interested in is how well our Java application is avoiding leaks in our code and dealing with GC. How would you recommend we track that? -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-appengine+unsubscr...@googlegroups.com. > To post to this group, send email to google-appengine@googlegroups.com. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-appengine/32a632ab-acaa-4c76-9c4d- > 88d5770d37e1%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/32a632ab-acaa-4c76-9c4d-88d5770d37e1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *JOSHUA FOX* Director, Software Architecture | Freightos *T (Israel): *+972-545691165 | *T (US)*: +1-3123400953 Smooth shipping. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAD%3DB7cN5dmTja%2B%2BmnHnmtQ1mKZkS1sc57Wr-fOTyCVNGn-YWOA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.