I just noticed that this is only a OSGA plugin that may need modifications. I really admire modular OSG design ;-)

So right now I am considering building custom archive plugin with 64 bit file addressing that could operate with 32 bit OSG code. For many reasons I hesitate to switch to 64 bit version of OSG because of potential compatibility problems with other libraries we use.

Cheers,
Wojtek


----- Original Message ----- From: "Alan Harris" <[EMAIL PROTECTED]>
To: "osg users" <[email protected]>
Sent: Monday, March 19, 2007 7:30 PM
Subject: Re: [osg-users] Overcoming osga 4GB limit ?


Hi

It also leads one into the possibility of halting a database build and re-starting later. Something I have thought about but not yet implemented.

Cheers
Alan Harris

Wojciech Lewandowski wrote:
Thanks, this will be helpful.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alan Harris
Sent: Friday, March 16, 2007 7:38 PM
To: osg users
Subject: Re: [osg-users] Overcoming osga 4GB limit ?


Hi

It doesn't cure the limit problem, but when I was having crashes with a
large database I modified the function:

ReaderWriter::WriteResult OSGA_Archive::write(const WriteFunctor&
writeFunctor)

to have the following after the file write.

if (result.success())
{
    addFileReference(position, size, writeFunctor._filename);
    // ensure output file is correct to this point
    writeIndexBlocks();
    _output.flush();
}

The lack of index writes otherwise makes the database pretty useless
after a crash.

Cheers
Alan Harris


Zach Deedler wrote:

Hi Wojtek,

The limit for a process on win32 is 2GB.  There are ways to up it to
3GB, though, if you haven't tried that.
http://msdn2.microsoft.com/en-us/library/ms791558.aspx

On 64-bit windows the process limit is 7,152GB


Zach



------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Wojciech
Lewandowski
*Sent:* Friday, March 16, 2007 06:01
*To:* osg users
*Subject:* [osg-users] Overcoming osga 4GB limit ?

Hi everybody,

We hit 4GB limit in OSGA archive generated from osgdem. Did anyone try
building larger archives on 64 bit systems ? I suspect that 64 bit
Linux will be Ok but we work in Windows environment. Did anyone try
passing 4GB limit on 64 bit Windows ? Do I need to recompile OSG for
64 bit code ?

Does anyone know if there is a way to extract ive files from this
uncompleted 4GB OSGA archive ? OSGDEM have worked for 3 days till it
crashed at level 9 ... we would like to see if earlier levels look right.

Thanks in advance for all feedback,
Cheers,
Wojtek Lewandowski


------------------------------------------------------------------------

_______________________________________________
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/


_______________________________________________
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/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to