Closed lxw6933 closed 3 months ago
初始化空对象 打印对象大小: long objectSize = ObjectSizeCalculator.getObjectSize(sensitiveWordBs); log.info("sensitiveWordBs size:【{}】byte", objectSize); 输出: sensitiveWordBs size:【35043720】byte
默认加载了内置字典,可以配置去掉。
初始化空对象 打印对象大小: long objectSize = ObjectSizeCalculator.getObjectSize(sensitiveWordBs); log.info("sensitiveWordBs size:【{}】byte", objectSize); 输出: sensitiveWordBs size:【35043720】byte