1
Python and Java API / Build Mesh fails during python script
« on: February 11, 2015, 06:24:04 PM »
When running build mesh it fails and says "Error: bad allocation". What does the mean bad memory allocation? It's using the dense cloud and there are about 261 photos in the chunk.
This is the code I have for building the mesh:
Uses the dense cloud.
Log attached (edited slightly so that it would fit):
Processor: Intel Xeon CPU E5-2666 v3 @ 2.90 GHz
Memory: 30 GB
System Type: 64 bit
GPU: N/A
Operating System: Windows Server 2012 Standard
[Edit] Tried Running Manually and same error looks like 261 photos is to many for it to process. Will try splitting into smaller chunks and trying again.
This is the code I have for building the mesh:
Uses the dense cloud.
Code: [Select]
def build_mesh(chunk, surface, source, interpolation=PhotoScan.EnabledInterpolation, faces=PhotoScan.MediumFaceCount):
print ("\nBuilding ({}, {}) Mesh...\n".format(source, faces))
result = chunk.buildModel(surface, interpolation, faces, source)
return result
Log attached (edited slightly so that it would fit):
Processor: Intel Xeon CPU E5-2666 v3 @ 2.90 GHz
Memory: 30 GB
System Type: 64 bit
GPU: N/A
Operating System: Windows Server 2012 Standard
[Edit] Tried Running Manually and same error looks like 261 photos is to many for it to process. Will try splitting into smaller chunks and trying again.