Files
workinf_Blender_Wasm/docs/status/W-024.md
2026-08-12 04:47:48 -04:00

638 B

W-024 Status

status: done task: 固定内存和分配策略

Evidence

  • Memory ABI: web_engine_get_memory_stats() and scalar accessors
  • Golden: tests/golden/W-024/memory-stats.json
  • Node smoke: tools/web/run-web-engine-smoke.mjs

The ABI reports live handles and allocated bytes without exposing WASM heap pointers to React. Document memory is held inside the engine state and output buffers are explicitly freed after save; the first mesh snapshot also retains bounded arrays before the later transferable-buffer path.

Verification

node tools/web/run-web-engine-smoke.mjs  # blend open/save, then destroy