IncreaseMapSize in Warning_Log

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 12 04:28:38 CST 2008


On 12/2/08 12:08 PM, "Stan Busk" <maxprog at mac.com> wrote:

> Hi,
> 
> Ok. On Windows, each time I create a DB I get a Warning_log that says
> the following:
> 
> IncreaseMapSize : SegmentMap size = 2
> IncreaseMapSize : SegmentMap size = 3
> IncreaseMapSize : SegmentMap size = 4
> IncreaseMapSize : SegmentMap size = 5
> IncreaseMapSize : SegmentMap size = 6
> IncreaseMapSize : SegmentMap size = 7
> IncreaseMapSize : SegmentMap size = 8
> IncreaseMapSize : SegmentMap size = 9
> IncreaseMapSize : SegmentMap size = 10
> IncreaseMapSize : SegmentMap size = 11
> IncreaseMapSize : SegmentMap size = 12
> IncreaseMapSize : SegmentMap size = 13
> IncreaseMapSize : SegmentMap size = 14
> IncreaseMapSize : SegmentMap size = 15
> IncreaseMapSize : SegmentMap size = 16
> IncreaseMapSize : SegmentMap size = 17
> IncreaseMapSize : SegmentMap size = 18
> IncreaseMapSize : SegmentMap size = 19
> IncreaseMapSize : SegmentMap size = 20
> 
> I don't get anything on the Mac. It is likely because I use:

Well, I think you just cannot find this log file.
Please check e.g. MyApp.app/Contents/MacOS  location.
Or near REALbasic...

> db.Create( DatabaseFile, EVDbMode.kDscDatBlbInd, 1 * 1024 )
> 
> It doesn't happen with
> 
> db.Create( DatabaseFile, EVDbMode.kDscDatBlbInd, 32 * 1024 )

It will happens but first time on db with size in 256Mb
 
> but I need to maintain the files as small as possible (2.5Mb vs. 20Mb)

Again, this is not a bug.

To turn off this wanrig log for RELEASE of your app
You need just before db.open() or create() do

    db.SqlExecute( "SET PROPERTY WarningMode TO FALSE" )

See section PROPERTIES of

<http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:docume
ntation:vsql:reference:reference>

 
> It looks like WarningMode is activate by default so as the log is
> create with the db.Create() I have no way to deactivate it at this
> point.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list