Closed xinhuishuang closed 3 months ago
@xinhuishuang If you use default SW_STORAGE
conf, the storage is H2 in memory mode, which will store all data in memory.
You didn't read docs, I think? The default config leads all data in the memory rather than a persistent database.
Search before asking
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
version:skywalking oap 10.0.1
After the oap service is running for some time, the service is abnormal, with both binary deployment and docker deployment.
What you expected to happen
Memory overflow
How to reproduce
After the oap service is running for some time, the service is abnormal, with both binary deployment and docker deployment. Try to configure the jvm parameter in the docker deployment mode, and the same exception occurred.
docker yaml
docker run -d --name=skywalking-oap \ --restart=always \ -p 11800:11800 -p 12800:12800 \ -e SW_OAP_JAVA_OPTS='-Xms4g -Xmx4g' \ -e "TZ=Asia/Shanghai" \ apache/skywalking-oap-server:10.0.1
docker run -d --restart=always \ --name skywalking-ui \ --link skywalking-oap:skywalking-oap \ -p 8080:8080 \ -e SW_OAP_ADDRESS=http://skywalking-oap:12800 \ -e TZ=Asia/Shanghai \ apache/skywalking-ui:10.0.1
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct