You may be opening up a new connection each time and never closing an old
one.  That is my first guess.

On Thu, Jul 12, 2018 at 7:40 AM Chris Davis <[email protected]> wrote:

> Hi All
>
> I am running a routine which continually repeats a query from an ODBC
> source to sync some data.
>
> There seems to be a problem with the driver that over time the  .EXE I
> have created takes up more and more memory until it goes bang.
>
> If I change this to query from a different source requiring a different
> driver I don’t have an issue (i.e. I’m happy it’s not me 😊 )
>
> I would like to keep the EXE running rather than scheduling it to run
> close run close etc.  As I have a log on the screen showing a visual status
> of the query and when it was last completed.
>
> I am now thinking there must be an easy way to fire off this query in a
> different datasession or thread so that any problems caused by the ODBC
> driver are lost after each execution, any brilliant ideas?
>
> Thanks
>
> Chris.
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajidmykmv7fwxzkbu8iqljzrn31nedguetf980xv0c4exxt...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to