KhronosGroup / KhronosGroup/OpenCOLLADA
I/O error : Memory allocation failed : growing input buffer
- Dominant language
- C++
- Stars
- 679
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
We get the following error when trying to validate a 1GB DAE file with DAEValidator (@lasalvavida 's [fork](https://github.com/lasalvavida/OpenCOLLADA), built on CentOS 7.x 64 bits with a recent GCC version from [Developer Tool-set 7](https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/):
```bash
DAEValidator --check-links mesh_6M_mapped_m.dae
Processing mesh_6M_mapped_m.dae (1GB)
I/O error : Memory allocation failed : growing input buffer
Checking links...Processed 1 documents in 3.151s
Validation SUCCEEDED.
```
What are we doing wrong ? And is the validation really successful ?
P.S: the server running DAEValidator has 4 vCPUs and 8GB of RAM.
Best, Samuel from CINES
https://www.cines.fr/en/
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported command, DAEValidator --check-links mesh_6M_mapped_m.dae, against the 1GB DAE file and record its output and result. Trace how the validator handles the input buffer when memory allocation fails, then determine whether validation should report failure instead of “SUCCEEDED.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100