1 Commits

Author SHA1 Message Date
Syoyo Fujita
44314c7cd6 Add memory limit support for web binding with architecture-specific defaults
- Add USDLoadOptions with memory limits to web binding C++ code
- Implement architecture-specific defaults: 2GB for WASM32, 8GB for WASM64
- Add TINYUSDZ_WASM_MEMORY64 preprocessor define for WASM64 builds
- Update JavaScript wrapper with memory limit configuration API
- Add getNativeDefaultMemoryLimitMB() method to query architecture defaults
- Support per-operation memory limit overrides in load/parse methods
- Update documentation and examples for both build architectures
- Add build examples script for WASM32/WASM64 configurations

Security enhancement to prevent memory exhaustion attacks when loading
potentially malicious USD files in web environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-22 02:36:44 +09:00