Forum

Bad Allocation, Should I continue?

Started by rexsham, July 03, 2019, 10:09:10 AM

Previous topic - Next topic

rexsham

I have a project running network mode.
The server has 256GB ram and it is fully used now 256GB/256GB
Project status is 88% in building Dense Cloud at this moment

It just fired a "Bad Allocation" message but the node and server seem can continue to progress.

Will there be any damages to the dense cloud if I continue the process?
SHould I terminate or let it continue? It still has 10 hours to wait if I continue, if I know it will fail finally I will stop processing now

Thank you

Alexey Pasumansky

Hello rexsham,

I think it may be reasonable to continue only if you extend the amount of virtual memory on the processing node to avoid "not enough memory" ("bad allocation") error again.

To reduce the memory consumption for the dense cloud generation stage you can use max_neighbors tweak, but it would require to start dense cloud generation again (even though the depth maps can be re-used).
Best regards,
Alexey Pasumansky,
Agisoft LLC

rexsham

Thank you, so I can extend a lot of virtual memory using a fast SSD in order to get rid of the "bad allocation" issue right?

Alexey Pasumansky

Hello rexsham,

In theory it is true - providing more virtual memory would solve "Bad alloc" issue.
Best regards,
Alexey Pasumansky,
Agisoft LLC