Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 27th, 2006, 04:42 AM
ghazanfar17 ghazanfar17 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 2 ghazanfar17 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 40 sec
Reputation Power: 0
Fbserver.exe memory consumption increases by inserting records

Hello Everyone,
I am developing a client/server application where server has to insert a lot of records in the database. I am using firebird as my database server. But i have found some problem with fbserver.exe that when i insert records the memory consumed by the fbserver.exe increases. If i insert 100 records with the single connection fbserver.exe memory consumption reaches from 4MB to 90MB. The basic procedure to insert records i used is:
Make A Connection With the database
Starts the transaction
Executes the query using isc_dsql_execute_immediate
Commit the transaction

and perform the last three steps multiple times and if i check the memory consumed by the fbserver.exe it increases a lot. But when i detach from the database all the excessive memory consumed by the fbserver.exe is released.

I want to know that does it always happens because it will cause a lot of problem in my case because my server is maintaining the single connection with the database and keep on inserting. but as the memory consumption increases the OS will be outof memory after sometime. Please anyone help me out from this problem. Ill be very thankfull. It will be a great help if some one tell me the solution for this memory consumption by the fbserver.exe

Thanks in advance,
With Regards,
Ghazanfar.

Reply With Quote
  #2  
Old January 27th, 2006, 06:03 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,826 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 1 Day 11 h 27 m 48 sec
Reputation Power: 278
You didn't even mention which version

Reply With Quote
  #3  
Old January 27th, 2006, 07:22 AM
ghazanfar17 ghazanfar17 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 2 ghazanfar17 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 40 sec
Reputation Power: 0
Quote:
Originally Posted by pabloj
You didn't even mention which version


Firebird Version 1.5.2
OS Microsoft XP SP-2

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Fbserver.exe memory consumption increases by inserting records


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway