Forum

Author Topic: Crash to desktop while reconstructing mesh  (Read 6379 times)

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Crash to desktop while reconstructing mesh
« on: March 01, 2017, 01:26:31 PM »
I have a medium-sized project that crashes PhotoScan Pro 64bit 1.2.6 AND 1.3.0 to desktop when reconstructing the mesh from the dense point cloud.

Attached is the details page of the report in 1.2.6, using a mesh based on the low-res point cloud.

Any ideas what could be wrong?

Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #1 on: March 01, 2017, 01:34:21 PM »
Hello maddin,

Do you have processing log for the operation or probably you have submitted the crash report?

Also what are the computer specifications and what were the mesh reconstruction settings used.
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #2 on: March 01, 2017, 01:45:58 PM »
Do you have processing log for the operation or probably you have submitted the crash report?

I don't see any option to submit a crash report - how would that work? The crash is immediately to desktop, no warning whatsoever.

Attached is the log file I just generated right before the crash.

BTW, I also noticed it is crashing Firefox, too...!

Also what are the computer specifications and what were the mesh reconstruction settings used.

Win7 64bit SP1, 64GB RAM, GTX 1080 with 8GB VRAM, 24 core Intel Xeon E5-2687W v4 3GHz

Settings for dense mesh creation were:
Arbitray, Dense cloud, High (about 9 Mio. faces), Interpolation enabled, all point classes (I don't have any in the project)
« Last Edit: March 01, 2017, 01:59:48 PM by maddin »

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #3 on: March 01, 2017, 02:16:09 PM »
Follow-up: From inspecting the Event Viewer, it looks like the system is simply running out of memory (64GB?!)...
A bit weird not to see any warning message, but maybe the project is too large?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #4 on: March 01, 2017, 02:38:25 PM »
Hello maddin,

Usually PhotoScan displays "not enough memory" message when there's insufficient RAM to complete the operation.

Crashes and such silent program window close may be related to hardware issues (I can suggest to check RAM modules) or by some OS settings.

Note that Arbitrary mesh generation mode is very resource demanding operation.
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #5 on: March 01, 2017, 03:53:51 PM »
It seems the "interpolation' is causing the problems? Without it, I can build a mesh at low resolution (1 Mio. faces), with it enabled, I get a crash (and an error message this time). Attached is the log.

This also works for High Resolution (9 Mio faces), but only without interpolation.
« Last Edit: March 01, 2017, 04:58:55 PM by maddin »

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #6 on: March 01, 2017, 06:46:39 PM »
I can confirm that the crash is related to using Interpolation.
Attached is a screenshot of what taskmanager looks like when a crash occurs, while doing a 'low' mesh resolution but with interpolation on. Without interpolation, this works just fine (but the result is pretty bad due to many tiny holes).

Thibaud Capra

  • Full Member
  • ***
  • Posts: 101
  • Master Student in Geodetic Engineering & Surveying
    • View Profile
    • INSA de Strasbourg, Topography Engineering (French)
Re: Crash to desktop while reconstructing mesh
« Reply #7 on: March 01, 2017, 06:55:27 PM »
If holes are tiny, you can still fill holes after and that'd we a way around the issue... Though it wouldn't fix it.
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
--

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #8 on: March 02, 2017, 01:37:48 PM »
Also to note: I can split the chunk in two and reconstruct a mesh for each independently without issues (at High detail, with interpolation on) just by reducing the bounding box size for each chunk accordingly.

Seems weird to me that such a simple procedure works and isn't built into the program.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #9 on: March 02, 2017, 01:43:46 PM »
Hello maddin,

Do you have swap enabled in your system? It looks like the process is automatically killed when it exceeds the RAM limit.
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Crash to desktop while reconstructing mesh
« Reply #10 on: March 02, 2017, 02:07:20 PM »
Do you have swap enabled in your system? It looks like the process is automatically killed when it exceeds the RAM limit.

Now that's slightly embarrassing... - my page file was set to 500MB by the guys setting up the machine for me, and it was never changed to anything appropriate later on! I have increased the swap to 64GB, let's see whether this will help around the memory peak.

Thanks!