Forum

Author Topic: Split In Chunks - failed  (Read 2219 times)

rossnixon

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Split In Chunks - failed
« on: February 23, 2017, 12:26:45 AM »
I'm using the Split In Chunks script, but am getting "bad allocation" after the last chunk is processed.
- The previous attempt (3x2) finished with just the final chunk having a Dense Cloud, and the other chunks have disappeared.
- I increased the number of chunks (3x5) but get a similar result. No Dense Cloud as the last chunk was in an empty zone.

LOG file:
2017-02-23 04:47:16 Merging chunks...
2017-02-23 04:47:16 Error: Empty surface '//If this refers to the final chunk, there were no cameras there.
2017-02-23 04:59:55 Finished processing in 758.664 sec (exit code 0)
2017-02-23 04:59:55 Script finished
2017-02-23 04:59:55 Error: bad allocation

Is "bad allocation" always a lack of memory?
Or could it be lack of disk space?
At what stage is the failure occurring - is it the 'Merge Back'?

The script has three options
- Build Dense Cloud
- Build Mesh
- Merge Back
    Should I try just the first two options to see if the Dense Clouds and Meshes are retained?
    Then is there a way to do only the Merge Back?
(Screenshot attached)

Thibaud Capra

  • Full Member
  • ***
  • Posts: 101
  • Master Student in Geodetic Engineering & Surveying
    • View Profile
    • INSA de Strasbourg, Topography Engineering (French)
Re: Split In Chunks - failed
« Reply #1 on: February 23, 2017, 11:12:55 AM »
Can you provide your script for doing it please?
Best regards.
--
Thibaud CAPRA
Master Student in Geodetic Engineering, Cartography & Surveying
Master Thesis in Automated Processing of UAV-based Photogrammetric Data (ResearchGate Link)
INSA de Strasbourg, FRANCE
--

rossnixon

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Split In Chunks - failed
« Reply #2 on: February 23, 2017, 11:45:46 AM »
I used the standard supplied script with the Dense Cloud set to Medium Quality.
I'm trying again now with it set to Low Quality and with 2x3 chunks. I will be back at work in 12 hours to check the result.

rossnixon

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Split In Chunks - failed
« Reply #3 on: February 24, 2017, 12:14:46 AM »
Low Quality has worked. Got a complete Dense Cloud, Mesh, Merged chunk.
- Tie Points: 1,054,000
- Dense Cloud: 85,600,000 points, Low quality
- 3D Model 17,000,000 faces

I'm still uncertain if my 16GB of RAM was causing the 'Bad Allocation', or whether it was my C: drive filling up (8GB free). Does Photoscan use C: during the processing?
My %temp% is currently D: (135GB free) which I believe is sufficient.