mitsuba-renderer/mitsuba2-vdb-converter

File Size Limit?

Vmbundu opened this issue · 4 comments

Greetings,
I was wondering if there is a maximum file size limit for the vdbconvert executable? I ask because it seems I can't use the executable on vdb files that are larger than 200 KB; Past that, I get a bad alloc error.

Hi @Vmbundu,
There isn't an explicit file size limit AFAIK. You should be able to convert larger files. I've recently converted the smoke2 sample ~28MB without any issues.

Could there be another reason why I am getting a bad alloc call?

I used the armadillo sample model and got the bad alloc call

Hi @Vmbundu,

I think the best way to track this down would be to compile in debug mode, run the conversion in gdb and look at the stack trace when the bad alloc occurs.