Allocated nnnnn page buffers of xxxxx requested

This means that you don't have enough RAM for the amount of database page cache you configured. You are probably using Classic, which has a separate cache for each connection. The default setting for Classic is only 75 pages, which is usually low, but that's conservative setting assuming a lot of users.

Be careful when calculating the value to put in firebird.conf. It depends on number of users you expect and size of a single page - default is 4kB, but if you have 16kB pages, the cache would consume 4 times more memory with same setting. It is recommended that you go with 256 pages in the cache, which amounts 1MB per connection with 4kB page size. If you have a lot of RAM or low number of connections, increase that to 512, 1024, etc.

Example: 20 users, 4kB page size and cache size of 1024 needs 80MB of RAM.

Please note that if you use Linux, the filesystem already uses all RAM to cache the filesystem (RAM usage on average Linux server never goes below 99%), so increasing the cache is counter-productive as you are creating a duplicate image of what's already in RAM - and thus significantly reduce the total amount of database file kept in memory.

Do you find this FAQ incorrect or incomplete? Please e-mail us what needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird databases), before it enters the main FAQ database. If you desire so, the changes will be credited to your name. To learn more, visit our add content page.

If you are a commercial tool maker and your tool features a great way to handle the issue written about in this FAQ, please check out our advertisement page.

All contents are copyright © 2007-2017 unless otherwise stated in the text.

Links   Firebird   News   FlameRobin   Home Inventory powered by FB  
Add content   Advertise   About  

 Installation and setup
 Backup and restore
 Connectivity and API
 Errors and error codes