RE: OutOfMemoryException: Webservice, DataSet and file transport
From: Pieter (Pieter_at_discussions.microsoft.com)
Date: 08/12/04
- Next message: Joakim Englund: "Strongly typed datasets and .NET CF = System.TypeLoadException?"
- Previous message: MikeB: "Re: keyboard popup missing under form?"
- In reply to: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Next in thread: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Reply: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Aug 2004 07:33:04 -0700
Tom,
Did you try calling the webservice from a desktop pc?
One thing I know about datasets is that they tend to consume a lot of memory
and can take a long time to load.
Maybe you can explain what you're trying to achieve with your application.
Pieter
"Tom De ceuster" wrote:
> Pieter,
>
> I keep the dataset in memory. I don't use the SQL server CE database.
> I get the memory Exception before the webservice method returns.
>
> regards,
> Tom
>
> "Pieter" wrote:
>
> > Tom,
> >
> > Do you keep this dataset in memory? Or are you using it to feed a SQL Server
> > CE database? In the latter case I experienced a similar problem that was
> > caused by a SqlCeCommand object that wasn't disposed after using it.
> >
> > regards,
> > Pieter
> >
> >
> >
> > "Tom De ceuster" wrote:
> >
> > > Hi,
> > >
> > > For transportation of a file, approx 850kB, I use a webservice which return
> > > a dataset with one DataTable and a row. That row holds the file. After a
> > > while I get an OutOfMemoryException on my Pocket PC device. The memory usage
> > > increments exponential from 20MB -> 24MB, and my file is not that big.
> > >
> > > Is this a known problem with the Compact Framework 1.0 SP2, on a Windows CE
> > > 4.2 device? Or by a certain memory allocation for the dataset?
> > > Please any information is welcome.
> > >
> > > Regards,
> > > Tom
- Next message: Joakim Englund: "Strongly typed datasets and .NET CF = System.TypeLoadException?"
- Previous message: MikeB: "Re: keyboard popup missing under form?"
- In reply to: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Next in thread: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Reply: Tom De ceuster: "RE: OutOfMemoryException: Webservice, DataSet and file transport"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|