baozi-2019
baozi-2019
内存限制失败
现在服务器docker运行nacos:latest镜像直接down掉,原因是nacos把内存吃光了 下面是docker-compose,已经限制最大500m,可是还剩1.5g左右内存都起不来,去掉``memory: 550M``后直接把服务器内存吃光 ```yaml nacos: image: nacos/nacos-server:latest container_name: nacos environment: - PREFER_HOST_MODE=hostname - MODE=standalone - MYSQL_DATABASE_NUM=1 - SPRING_DATASOURCE_PLATFORM=mysql - MYSQL_SERVICE_HOST=mysql - MYSQL_SERVICE_DB_NAME=nacos_dev - MYSQL_SERVICE_PORT=3306 - MYSQL_SERVICE_USER=nacos - MYSQL_SERVICE_PASSWORD=nacos - MYSQL_SERVICE_DB_PARAM=characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true...
### Expected Behavior The project starts like a tutorial. [guide url](https://guides.micronaut.io/latest/creating-your-first-micronaut-app-maven-java.html) ### Actual Behaviour I just download a demo and run it. When I add a controller, it can not...
I want to make a new annotation to replace @SoftDelete. ```java package org.baozi.bs.common.db.anntations; import jakarta.enterprise.inject.Stereotype; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.hibernate.annotations.SoftDelete; import org.hibernate.annotations.SoftDeleteType; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) @Stereotype...
> **Note**: This template is just a guide. Feel free to ignore the format entirely - any feedback is welcome! Don't let the template stop you from sharing your thoughts....