Thanks Devid for your quick reply. > Are you releasing each filestream when it's done? I am not using filestream anywhere in my application. During preparation of data I am creating an INI file to save information and then reading it back (when its ready to send) in memorystream, after that I am compressing it to decrease the size as its going to travel over network through DCOM, then I am sending this value as Variant to the server. At server after decopress I do the manupulation in the sameway I am receiving data from server.
Note: I did the chekout for clearing MemoryStream and INIFile too. > > --- On Mon, 11/17/08, iqbal_delphidev <[EMAIL PROTECTED]> wrote: > > From: iqbal_delphidev <[EMAIL PROTECTED]> > Subject: [delphi-en] "Out of Memory" over DCOM > To: [email protected] > Date: Monday, November 17, 2008, 3:12 AM > > > > > > > > Hi, Friends > > I have developed a POS (Point Of Sales) application. In this software > the user has multi branches in different cities (where the software is > installed) everything is going well. > > I have a synchronization module; in this module I am using DCOM to > connect my server to transfer data. I am sending/receiving data through > stream over DCOM connection. The value of stream is coming from local > files created as per records available. The maximum size of a single > file is not more than 500KB. I am sending the one file content at a > time. And after receiving I do the needed process then I am freeing the > streams (and related allocated memory). Then I am doing same for next > file. > > Generally there is no problem, but some time during my synchronization > there is an error "Out Of Memory". I have tried my best to fixed but no > good luck. Any help please? > > Thanks in advance. > > iqbal_delphidev@ yahoo.com > > [Non-text portions of this message have been removed] > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] >

