Hi J.P. You could try a 64 bit build, but it might just get you a bit further. The problem is that the current rev of osgdem/VirtualPlanetBuilder keeps two rows of layer in memory at once to enable it to do matching of elevations and texels, and if you have a really high res wide area database you can hit memory limits. The memory used should still way less than whole target database size, I'm curious how big did it get?
For future revs of VirtualPlanetBuilder I plan to rewrite it so that it does incremental and distributed builds, which will store intermediate results on disk rather than keeping complete rows in memory. The later feature will enable database build sizes that are limited by disk space only, rather than memory footprint. The incremental build will allow you to stop and restart builds - so if something crashes, such as software or you hit a hardware failure you won't have to go back to beginning. The distributed build will allow you to make use of multiple machines. This work will commence end of Spring/early Summer. Robert. On 4/16/07, J.P. Delport <[EMAIL PROTECTED]> wrote:
Hi, I've been running the osgdem from SVN on a large dataset. I get the following error after around a week of processing: terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc From searches on the error it seems that there was a memory allocation problem in the std C++ libs. I guess it occurs either when the osgdem process reaches 3GB or 4GB of memory use (I have a stopped process that ran fine up to 2.8GB of memory use). There was still swap space left when the process crashed. I'm running on 32-bit Debian Sid with kernel: 2.6.20.4 #3 SMP PREEMPT Thu Apr 5 08:56:33 EDT 2007 i686 GNU/Linux Would running a 64-bit version of osgdem help at all? regards jp -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
