Memory RestHeart的jvm内存的建议设置是什么?

Memory RestHeart的jvm内存的建议设置是什么?,memory,jvm,restheart,Memory,Jvm,Restheart,在文档中,它也没有在关于性能的帖子中指定JVM所需的内存。RESTHeart在java 8上运行,java 8使用元空间内存模型,通常根本不需要JVM内存调优 我们在Soft煽动网站通常与docker一起运行restheart,并在aws ecs服务上运行它 我们将restheart线程配置如下: # Number of I/O threads created for non-blocking tasks. at least 2. suggested value: core*2 io-threa

在文档中,它也没有在关于性能的帖子中指定JVM所需的内存。

RESTHeart在java 8上运行,java 8使用元空间内存模型,通常根本不需要JVM内存调优

我们在Soft煽动网站通常与docker一起运行restheart,并在aws ecs服务上运行它

我们将restheart线程配置如下:

# Number of I/O threads created for non-blocking tasks. at least 2. suggested value: core*2
io-threads: 2

# Number of threads created for blocking tasks (such as ones involving db access). suggested value: core*16
worker-threads: 8

在aws ecs上,我们为运行restheart的docker容器设置了1Gb的软内存限制,并且我们从未出现过内存问题(即使在重载情况下)

请检查以下问题的答案:还要考虑restheart在java 8上运行,java 8使用metaspace内存模型,通常根本不需要内存调整