Greg,

If I'm not mistaken, the code is not very smart about memory management for large number of blocks. The scene keeps loading the blocks into memory without releasing the memory for those that have already been used. Therefore you may end up with all 800 blocks in memory and your 4GB of memory will certainly not be enough. I think the processing is getting slow because your computer is probably paging. Can you check this? Check the number of pages in and pages out....

Isabel

On May 17, 2012, at 5:18 PM, Gregory Brunner wrote:

Isabel,
I have exported PLY files with varying threshold probabilities for the same model, and the times it takes at each probability are roughly the same (> 8 hours). 
 
In terms of RAM, I have 4 gig. The bin files range from 128 KB to 2017 KB.  In total, the model comes to 1.45 GB.
 
If you have a model that is several 100 bin files large, try exporting it to PLY. I can even notice the process getting slower as the number of blocks that have been passed over increases. You can see this by watching the process in the terminal window.
 
Greg
 
From: Isabel Restrepo [mailto:isabelrestre@gmail.com] On Behalf Of Isabel Restrepo
Sent: Thursday, May 17, 2012 8:38 AM
To: Gregory Brunner
Cc: vxl-users@lists.sourceforge.net
Subject: Re: [Vxl-users] Memory Leak in boxm2ExportOrientedPointCloudProcess?
 
Greg,
 
800 blocks is a very large number blocks. We don't usually export scenes that large (I usually work with ~50 blocks). Although, there could be leaks in the code, perhaps the reason for the long exporting time is that with 800 blocks you'll end up writing a huge PLY ascii file. How large is the file output file?
You may want to export points only with very high probability. You could play with the code to export smaller sections of the scene. How much RAM do you have? How big are the scene .bin files?
 
Isabel
 
On May 16, 2012, at 2:29 PM, Gregory Brunner wrote:


I exported a PLY file from a boxm2 model using "boxm2ExtractPointCloudProcess" and "boxm2ExportOrientedPointCloudProcess". As it passed over the blocks, it appeared that the process got slower.  My model had ~800 blocks and exporting a PLY file took ~8 hours.  I just  thought it was suspicious that the process appeared to slow down as it traversed the blocks.  Could there perhaps be a memory leak somewhere in these routines? 
 
Greg
 
Gregory Brunner | Imagery Scientist
Esri | 3060 Little Hills Expressway | St. Charles, MO 63301-3751 | USA
T 636-949-6620, ext. 8557 | F 636-949-6735 | M 636-222-3818
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Vxl-users mailing list
Vxl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-users
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Vxl-users mailing list
Vxl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-users