"With -XX:MaxRAM=72m This will restrict the JVM's calculations for the heap and non heap managed memory to be within the limits of this value." [t]2020-01-02 20:31:55
関連するかも情報
"With -XX:+UseSerialGC This will perform garbage collection inline with the thread allocating the heap memory instead of a dedicated GC thread(s)"
"With -Xss512k This will limit each threads stack memory to 512KB instead of the default 1MB" [t]2020-01-02 20:31:55
"With -XX:MaxRAM=72m This will restrict the JVM's calculations for the heap and non heap managed memory to be within the limits of this value." [t]2020-01-02 20:31:55
"In addition to the above JVM options you can also use the following property inside your application properties file:
server.tomcat.max-threads=5 This will limit the the number of HTTP request handler threads to 1 (default is 50)" [t]2020-01-02 20:31:55
Google App Engine で Java 11 + Spring Boot な Web アプリを動かしているけどメモリ使用量が384MBに迫るぐらい。インスタンスクラスがF1だと256MBなので足りなくてエラーになる。F2を指定するしか。それにしても JAVA_TOOL_OPTIONS: "-Xmx200m" って指定しているけどぜんぜん効いてないな。。。 [t]2020-01-02 20:38:05
デフォルトで50スレッド×1MB=50MB消費?
"spring boot starts around 50 threads per default for http service(Tomcat or Undertow, Jetty), and its use 1 MB per thread(64bit jvm default setting)."