Stan, lets isolate 2.5.10 and 3.0

Steve Albin steve at steve-albin.com
Fri Apr 27 07:52:24 CDT 2007


On Thursday, April 26, 2007 maxprog at mac.com (Stan Busk) wrote:

>Finally I had time this afternoon to create a sample project that  
>reproduces the problem.
>The report is: http://valentina-db.com/bt/view.php?id=2308
>
>I have tested the sample project on Vista and XP with same results,  
>slow DB creation followed by a 'SegmentMap is corrupted' VException  
>and a silent crash.
>
>I build on a Mac with RB2007r2 with V4RB 2.5.9


I tested with the project you provided and found the same result you did.  But then I increased the segment size and the problem went away completely.  Here is the line of code I changed:

    OLD:    myDatabase.Create( f, EVDbMode.kDscDatBlbInd, 1 * 1024 )
  

    NEW:    myDatabase.Create( f, EVDbMode.kDscDatBlbInd, 32 * 1024 )
  
I don't think there is any reason not to increase the segment size. i.e. significant overhead.


Steve




-- 
Steve Albin - Montclair, NJ
http://www.jazzdiscography.com/
http://www.steve-albin.com/


More information about the Valentina mailing list