\n\n### 前置条件\n\n- [x] 已经在 [issues](https://github.com/halo-dev/halo/issues) 列表中搜索了相关问题。\n- [x] 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 [Discussions](https://github.com/halo-dev/halo/discussions) 提交。\n- [x] 已经尝试过停用所有的插件,排除是插件导致的问题。\n- [x] 如果是插件和主题的问题,请在对应的插件和主题仓库提交。\n\n### 系统信息\n\n- 版本:2.20.11(经过初步测试,疑似 2.x 版本均存在此问题。建议项目维护者重点关注 2.x 版本的代码逻辑及内存管理部分。)\n- 数据库:pg/h2(本地)\n- 部署方式:docker-compose/本地运行\n- 操作系统:ubuntu 22.04/win11(本地)\n- 浏览器:Chrome 132.0.6834.84\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 发生了什么?\n\n在使用本项目的文章编辑功能时,部分文章无法正常进入编辑界面,会触发浏览器的 OOM 错误。此问题严重影响了文章编辑操作的正常使用。\n\n### 复现步骤\n\n1)打开本项目,登录账号进入文章管理页面。\n2)随机选取文章列表中的文章尝试进入编辑界面(注:并非所有文章都会出现该问题)。\n3)当遇到特定的部分文章时,点击 “编辑” 按钮。\n4)此时页面开始卡顿,随后浏览器提示 OOM 错误,无法进入编辑界面。\n\n### 相关日志输出\n\n```shell\n2025-02-17T10:05:51.753+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] at 2025-02-17T02:05:51.753600200Z\n2025-02-17T10:05:51.753+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] at 2025-02-17T02:05:51.753600200Z\n2025-02-17T10:05:51.755+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciled request: Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] with result: Result[reEnqueue=true, retryAfter=PT1M], usage: 1\n2025-02-17T10:05:51.755+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Adding request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] after PT1M\n2025-02-17T10:05:51.755+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Added request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] after PT1M\n2025-02-17T10:05:51.859+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=menu-item-sSCGQ] at 2025-02-17T02:05:51.859126500Z\n2025-02-17T10:05:51.859+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=menu-item-sSCGQ] at 2025-02-17T02:05:51.859126500Z\n2025-02-17T10:05:51.860+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciled request: Request[name=menu-item-sSCGQ] with result: Result[reEnqueue=true, retryAfter=PT1M], usage: 1\n2025-02-17T10:05:51.860+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Adding request Request[name=menu-item-sSCGQ] after PT1M\n2025-02-17T10:05:51.860+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Added request Request[name=menu-item-sSCGQ] after PT1M\n2025-02-17T10:05:51.890+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=menu-item-YBABs] at 2025-02-17T02:05:51.890438100Z\n2025-02-17T10:05:51.890+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=menu-item-YBABs] at 2025-02-17T02:05:51.890438100Z\n2025-02-17T10:05:51.891+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciled request: Request[name=menu-item-YBABs] with result: Result[reEnqueue=true, retryAfter=PT1M], usage: 1\n2025-02-17T10:05:51.891+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Adding request Request[name=menu-item-YBABs] after PT1M\n2025-02-17T10:05:51.891+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Added request Request[name=menu-item-YBABs] after PT1M\n2025-02-17T10:06:51.757+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] at 2025-02-17T02:06:51.756365600Z\n2025-02-17T10:06:51.760+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] at 2025-02-17T02:06:51.760367700Z\n2025-02-17T10:06:51.764+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciled request: Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] with result: Result[reEnqueue=true, retryAfter=PT1M], usage: 4\n2025-02-17T10:06:51.765+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Adding request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] after PT1M\n2025-02-17T10:06:51.765+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Added request Request[name=b0d041fa-dc99-48f6-a193-8604003379cf] after PT1M\n2025-02-17T10:06:51.860+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=menu-item-sSCGQ] at 2025-02-17T02:06:51.860996300Z\n2025-02-17T10:06:51.860+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=menu-item-sSCGQ] at 2025-02-17T02:06:51.860996300Z\n2025-02-17T10:06:51.864+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciled request: Request[name=menu-item-sSCGQ] with result: Result[reEnqueue=true, retryAfter=PT1M], usage: 4\n2025-02-17T10:06:51.864+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Adding request Request[name=menu-item-sSCGQ] after PT1M\n2025-02-17T10:06:51.864+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Added request Request[name=menu-item-sSCGQ] after PT1M\n2025-02-17T10:06:51.893+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.extension.controller.DefaultQueue : Take request Request[name=menu-item-YBABs] at 2025-02-17T02:06:51.893533100Z\n2025-02-17T10:06:51.893+08:00 DEBUG 5972 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.reconciler.MenuItemReconciler-worker-1 >>> Reconciling request Request[name=menu-item-YBABs] at 2025-02-17T02:06:51.893533100Z\n```\n\n### 附加信息\n\n- 为定位问题,尝试多次随机选取文章进行编辑操作,发现约 10% 的文章会出现此问题,但尚未找到这些文章的明显共性特征。\n- 已检查浏览器内存使用情况,在未打开编辑界面时,内存使用正常;打开特定文章编辑界面时,内存占用迅速攀升直至溢出。",[2947],{"name":2919,"color":2880},7233,"部分文章编辑时出现OOM","2025-02-18T15:56:55Z","https://github.com/halo-dev/halo/issues/7233",0.76488906,{"description":2954,"labels":2955,"number":2957,"owner":2868,"repository":2869,"state":2890,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### 前置条件\n\n- [x] 已经在 [issues](https://github.com/halo-dev/halo/issues) 列表中搜索了相关问题。\n- [x] 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 [Discussions](https://github.com/halo-dev/halo/discussions) 提交。\n- [x] 已经尝试过停用所有的插件,排除是插件导致的问题。\n- [x] 如果是插件和主题的问题,请在对应的插件和主题仓库提交。\n\n### 系统信息\n\n- 外部访问地址: https://www.lik.cc\n- 启动时间: 2025-03-21 16:08\n- 版本: 2.20.17\n- 构建时间: 2025-03-13 18:27\n- Git Commit: 698befe\n- Java: IBM Semeru Runtime Open Edition / 21.0.6+7-LTS\n- 数据库: MySQL Community Server - GPL / 8.4.4\n- 操作系统: Linux / 6.1.0-10-amd64\n- 已激活主题: [microimmersion 1.0.6](https://github.com/wenjing-xin/theme-ancient-wind)\n- 已启动插件:\n - [足迹插件 1.0.0](https://github.com/acanyo/halo-plugin-footprint)\n - [Lywq核心插件 1.0.6](https://auth.muyin.site/docs/LywqPluginCore)\n - [禅导航 1.0.0](https://github.com/acanyo/halo-plugin-zenNavigator)\n - [Docsme 1.0.0-alpha.10](https://www.halo.run/store/apps/app-yffxw)\n - [Webjing核心插件 1.1.3](https://webjing.com/docs/WebjingMandateCore)\n - [智阅GPT-智能AI摘要 1.0.1](https://github.com/acanyo/halo-plugin-summaraidGPT)\n - [highlight.js 代码高亮 1.3.2](https://github.com/halo-sigs/plugin-highlightjs)\n - [lightgallery.js 灯箱 1.2.1](https://github.com/halo-sigs/plugin-lightgallery)\n - [microimmersion 1.0.2](https://github.com/wenjing-xin/plugin-microimmersion)\n - [搜索组件 1.6.2](https://github.com/halo-dev/plugin-search-widget)\n - [THYUU 区块 1.0.0](https://github.com/chengzhongxue/plugin-thyuu-embed)\n - [站点推送插件 1.5.2](https://github.com/Stonewuu/halo-plugin-sitepush)\n - [Trailing Slash 1.0.0](https://github.com/halo-sigs/plugin-trailing-slash)\n - [无色界 1.0.0](https://github.com/guqing/halo-plugin-colorless)\n - [Metrics Graph 1.1.0](https://github.com/guqing/plugin-metrics-graph)\n - [Data Studio(数据工厂) 1.0.0-alpha.3](https://github.com/halo-sigs/plugin-data-studio)\n - [链接安全跳转中台 1.7.0](https://github.com/wenjing-xin/plugins-links-security-detect)\n - [Image Stream 1.0.0-rc.1](https://github.com/halo-sigs/plugin-image-stream)\n - [静态网页服务 1.0.0-alpha.5](https://www.halo.run/store/apps/app-gFkMn)\n - [增强备份(Backup IMproved) 1.3.0](https://www.halo.run/store/apps/app-dHakX)\n - [社交 IAM 认证 1.4.0](https://www.halo.run/store/apps/app-IXZkJ)\n - [SEO 工具集 1.2.0](https://www.halo.run/store/apps/app-FNGbT)\n - [文章限制阅读 Pro 1.4.4](https://www.halo.run/store/apps/app-TzRqd)\n - [联系表单 1.1.0](https://www.halo.run/store/apps/app-gSebd)\n - [内容格式助手 1.2.0](https://github.com/ruibaby/plugin-content-tools)\n - [AI 助手 1.1.2](https://www.halo.run/store/apps/app-riNgb)\n - [页面静态缓存 1.2.1](https://github.com/halo-sigs/plugin-page-cache)\n - [对象存储(Amazon S3 协议) 1.12.0](https://github.com/halo-dev/plugin-s3)\n - [爱发电插件 1.6.5](https://github.com/carolcoral/plugin-afdian)\n - [编辑器超链接卡片 1.3.1](https://github.com/halo-sigs/plugin-editor-hyperlink-card)\n - [图库管理 1.4.0](https://github.com/halo-sigs/plugin-photos)\n - [链接管理 1.5.0](https://github.com/halo-sigs/plugin-links)\n - [朋友圈 1.3.5](https://github.com/chengzhongxue/plugin-friends-new)\n - [瞬间 1.9.0](https://github.com/halo-sigs/plugin-moments)\n - [图床插件 1.2.3](https://github.com/liuyiwuqing/halo-plugin-picture-bed)\n - [RSS 1.4.4](https://github.com/halo-dev/plugin-feed)\n - [Sitemap 1.1.2](https://github.com/halo-dev/plugin-sitemap)\n - [应用市场 1.9.1](https://www.halo.run/store/apps/app-VYJbF)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n\n\n\n\n问题地址https://www.lik.cc/archives/footprint#%F0%9F%92%AC%E4%BA%A4%E6%B5%81\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2956],{"name":2899,"color":2880},7307,"图片引用 前端会变成a标签 如果设置了 图片描述才会是img标签","2025-04-01T02:57:07Z","https://github.com/halo-dev/halo/issues/7307",0.76553637,["Reactive",2963],{},["Set"],["ShallowReactive",2966],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f3OV6E4_qrGnnXH8R0Yy1VgGg8JrfzrZigFDtvxpS1AA":-1},"/halo-dev/halo/6778"]