Subject | Re: Getting IBServer to release memory |
---|---|
Author | chriskudla |
Post date | 2003-07-10T13:26:42Z |
I know that the update of a large number of records is not ideal.
Unfortunately we have a user who likes to update once a month and so
this situation arises.
What I really want to know is if the behaviour of ibserver in terms
of not releasing memory is 'normal' and whether anything can be done
to release the memory back to the OS, other than stopping and
restarting the service. Is this perhaps a Windows issue and might be
solved by moving the database onto a Linux server?
Thanks for the responses so far
Chris
--- In firebird-support@yahoogroups.com, Alan McDonald <alan@m...>
wrote:
Unfortunately we have a user who likes to update once a month and so
this situation arises.
What I really want to know is if the behaviour of ibserver in terms
of not releasing memory is 'normal' and whether anything can be done
to release the memory back to the OS, other than stopping and
restarting the service. Is this perhaps a Windows issue and might be
solved by moving the database onto a Linux server?
Thanks for the responses so far
Chris
--- In firebird-support@yahoogroups.com, Alan McDonald <alan@m...>
wrote:
> Svein has answered this - I might add that by doing small amounts ofupdates
> updates/inserts and then committing also keeps memory usage to very
> managable levels. It also keeps transactions moving along nicely and
> genrally keeps the server feeling "light". Doing 1 million record
> and then committing makes the server feel very heavy. The commitmay well
> take much longer than the update.<alan@m...>
>
> Alan
>
> > -----Original Message-----
> > From: chriskudla [mailto:chris@o...]
> > Sent: Thursday, 10 July 2003 6:30 PM
> > To: firebird-support@yahoogroups.com
> > Subject: [firebird-support] Re: Getting IBServer to release memory
> >
> >
> > We update all the records and then do a commit. I am not sure what
> > you mean by 'incremental commit', could you explain?
> > Thanks in advance :-)
> >
> >
> > --- In firebird-support@yahoogroups.com, "Alan McDonald"
> > wrote:cause
> > > does your fairly large volume update use incremental commit? or
> > does it
> > > update thousands of records before committing?
> > > Alan
> > >
> > > > -----Original Message-----
> > > > From: chriskudla [mailto:chris@o...]
> > > > Sent: Wednesday, 9 July 2003 11:40 PM
> > > > To: firebird-support@yahoogroups.com
> > > > Subject: [firebird-support] Getting IBServer to release memory
> > > >
> > > >
> > > > One of our users running Firebird 1.0 Classic on Windows 2003
> > Server
> > > > has occasions where they perform a procedure which seems to
> > > > IBserver to use large quantities of memory. We have checkedthe
> > > > application using Memproof and there are no open transactionsor
> > > > memory leaks.this
> > > > Our app is written using Delphi 7 and we are using the TIBSQL
> > > > component to update fairly large volumes of transactions in
> > > > particular function.least 12
> > > > It seems as if IBserver re-uses the memory (which we are
> > monitoring
> > > > with Task Manager) however it seems the only way to make it
> > release
> > > > the memory is to stop and restart the service.
> > > > This is a bit problematic as the server is in use for at
> > > > hours of the day and is complicated by the fact the they areusing
> > > > Terminal Services for the client connections to the server,running on
> > meaning
> > > > that the client applications plus the IBserver are all
> > theregular
> > > > one machine.
> > > > Is the only solution to stop and start the Ibserver on a
> > > > basis?and
> > > >
> > > > I have also read that one can call SetProcessWorkingSetSize
> > pass1 as
> > > > it the handle of the process you want to have swept and -1, -
> > therelease
> > > > other two params. This causes windows to sweep the app to
> > > > heap space. I only seem to be able to run this function on athroughout
> > process
> > > > if it running as an application. When I try to run it against
> > > > IBServer running as a service, I get "Access Denied" errors.
> > > > Is it worthwhile running Interbase as an app, rather than as a
> > > > service, and then running this function occasionally
> > thethe
> > > > day, or will this just be detrimental to the performance of
> > > > server, as now its memory is all sitting as virtual memory onthe
> > > > hard disk?http://docs.yahoo.com/info/terms/
> > > > The reason why I am doing this is to make any extra memory
> > available
> > > > for the EXE's that are also running on the server.
> > > >
> > > >
> > > >
> > > >
> > > > To unsubscribe from this group, send an email to:
> > > > firebird-support-unsubscribe@yahoogroups.com
> > > >
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > firebird-support-unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
> >
> >