Subject Re: [firebird-support] 2.5 RC3 (Win32) - Embedded: seems to allocate 4096 pages for each connection
Author Ivan Prenosil
> I must be setting something wrong somewhere (I hope so), but it does look like my tests with 2.5 RC3 (Win32) embedded do use 4096
> cache pages per connection. I would have expected it to be 75 in the absence of any firebird.conf file > or while
> DefaultDbCachePages is commented out.
>
> Yet, despite my (small) efforts to set it to 100 to clearly see if it obeys my settings, either through firebird.conf or through
> DPB parameters at attachment-time, I seem to always get 4096 pages allocated. At least the committed memory of > my process
> increase by a bit more than 65 MB per attachment (4096 * 16384) and 4096 is also the value which I get back through
> isc_database_info(isc_info_num_buffers).
>
> Is this a known bug which I would have missed in the list?

My copy of Firebird-2.5.0.26054-0_Win32_RC3.zip without any modifications to conf
behaves as expected - it allocates either 75 pages, or the number specified
during attach, and the value is confirmed by isc_database_info().
Perhaps the application/components you are using does the "favor"
and supply 4096 value without asking to do so ?

Ivan