You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
composeApp 作为入口模块聚合了 24 个依赖模块的全部 Kotlin 代码。K/N 的 Release 编译在 LLVM 优化阶段需要将全部 IR 加载到单个进程内做全量 LTO(链接时优化),内存峰值超过 CI 环境上限。
尝试过但无效的方案:
调大 Kotlin Daemon 堆(8G → 12G)
减少 K/N 并行线程(4 → 1)
thin LTO(-Xbinary=lto=thin)
应该怎么做?
All reactions