36
« on: February 02, 2019, 03:18:29 PM »
USING VIRTUAL MEMORY RESOLVED A LOT OF MEMORY PROBLEMS on my Computers
I was really unhappy about Metashape crashing so a lot, and I completely forgot virtual memory as a feature becouse today, using SSDs, all our computers have deactivated it. I will still upgrade our mobile workstation to 32 GB memory (purchased it today) but with virtual memory assigned in Window you can achieve a lot of more Mesh calculations than bevore, how did I resolve it.
I added:
C: SSD 16.384 MB virtual memory
F: SSD 16.384 MB virtual memory
V: SSHD 32.768 MB virtual memory (but I have seen that Agisoft didn't used it)
I know doing virtual memory on an SSD is not very good for the SSD, since it reduces a lot the lifetime due to the high write reading sequenses, but since on each computer we have a 200 GB SSD MSATA for system and a 1 TB SSD SATA for project files, I used that as virtual memory upgrading my PC from 16 GB (wich caused a lot of out of memory in Agisoft) to 81.920 MB total available to the sistem.
A project with about 250x 12 MPixel images took about 40 GB of total memory space to calculate mesh in high-mode from dense cloud (high quality 82M points)
So a 500x image project should need around 80 GB of memory to do the same calculations.
Unfortunately, rendering mesh from Dense Cloud is not only memory consuming, but also very high CPU consuming and it took something about 4 days, becouse first it created a super high 282M mesh that was reduced to about 5M later. This is, in my opinion, a not very efficient workflow resolved yet in Agiosft and I hope they can optimize this.
So i switched to Depth Maps mode and it took in high & high mode about 4 hours on the sistem creating a 4.7M shape, wich is almost what I planned in doing in dense cloud mode.
But also in Depth Map mode my computer crashed bevore, including virtual memory resolved those problems of OUT OF MEMORY.
I hope this might help someone else here in the forum.
At moment Im going to plan to purchase a Threadripper sistem, but instead of buying other 64 GB of DDR4 RAM to have a total of 128 GB, I will spend those moneys in a second GPU.