Subject Re: [firebird-support] Firebird Restarting part 2
Author Ann W. Harrison
Michael Vilhelmsen wrote:
>
> Yesterday we moved our customer with memory problems to another server.
> A new one. This new server is running FB 1.5.3 SS.
> The server is: Intel 5110 dual core 1.6
> 2Gb ECC RAM

>
> The FB log has this entrys
>
>
> DBSRV05 (Server) Wed Dec 20 19:24:45 2006
> Database: E:\DB\KAUFMANN\OCCLICENS.FDB
> Allocated 1078 page buffers of 2048 requested
>

Well, for whatever reason you're flat out of memory. Here's where that
error is generated in cch.cpp, CCH_init.

/* Log if requested number of page buffers could not be allocated. */

if (count != (SLONG) bcb_->bcb_count)
gds__log
("Database: %s\n\tAllocated %ld page buffers of %ld requested",
tdbb->tdbb_attachment->att_filename->str_data, bcb_->bcb_count,
count);

The call above to memory_init calls gds_alloc which calls malloc and
the malloc failed to get the whole page cache. The question is why.

Your system has lots of memory - 2Gb and you'r asking for about 8 Mb.
What else is running on that system?


Regards,


Ann