Re: managed out of memory exception in pocket pc 2002 emulator

From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 03/25/05


Date: Fri, 25 Mar 2005 17:43:57 -0000

Which statement causes the exception? Step into your application until you
hit the offending line of code.

What numbers are you getting after using the perf counters,
globalmemorystatus etc as described on my blog entry?

If you have a repro feel free to post it...

Cheers
Daniel

--
http://www.danielmoth.com/Blog/
"kies" <kies@discussions.microsoft.com> wrote in message 
news:1C5C8633-8B80-4028-88B6-CD5700AB880D@microsoft.com...
>I have 5 forms currently and out of the 5 forms, only 1 of the form is 
>doing
> something at formload. Here's a sample of the codes.
>
>            Dim ds As New DataSet
>            Dim ID As String
>
>        ID = Form1.NuNameTB.Text()
>
>        ds = reg.dset
>        Me.DataGrid1.DataSource = ds.Tables(0)
>
> as for form main, all i did was to dim a webservice method. I tried to 
> split
> my application into two projects solutions and it works fine but the 
> original
> 128kb project just won't load the form when i debug the project. I went
> through your blog and but still could not figure what went wrong. I did 
> not
> use any bitmaps in my application. My application consist of mostly
> retrieving datas from datasets.  I was wondering if the problem would be
> caused by the CF version. I'm currently using the CF 1.0 SP 2
>
>
>
> "Daniel Moth" wrote:
>
>> No, there is no such limit. What are you doing at startup (Main,
>> constructors, form load events etc)?
>>
>> Go through the steps of my memory faq:
>> http://www.danielmoth.com/Blog/2005/01/memory-problems-faq.html
>>
>> Cheers
>> Daniel
>> --
>> http://www.danielmoth.com/Blog/
>>
>>
>> "kies" <kies@discussions.microsoft.com> wrote in message
>> news:39C855AE-E7ED-4C3D-8537-EB22E118374E@microsoft.com...
>> > Hi all,
>> >
>> > I was hoping that anyone of you here would have the answer to my 
>> > question.
>> > My pocket pc application was up and running in both the pocket pc 2002
>> > emulator and the actual device itself until i added some functions 
>> > which
>> > increase the total size of the application to 128kb. When the 
>> > application
>> > was
>> > of 128kb, both the emulator and the actual device could not load the
>> > application and the emulator threw the "managed out of memory 
>> > exception"
>> > message. What is happening exactly? Is there a limitation on the size 
>> > of a
>> > pocket pc application?
>>
>> 


Relevant Pages

  • Re: Loading a map to picturebox??
    ... I'm running Pocket PC emulation 2002, but I have no idea how to load ... the image onto the emulator, and my Pocket PC is down right now, is there ... about panning a map??? ...
    (microsoft.public.pocketpc.developer)
  • ArgumentOutOfRange on device NOT emulator???
    ... VS.net 2003 for pocket pc 2003. ... In the emulator ... On the load I assign those variable values to ... different textbox.text members. ...
    (microsoft.public.pocketpc.developer)
  • Re: Loading a map to picturebox??
    ... the image onto the emulator, and my Pocket PC is down right now, is there ... about panning a map??? ... then load it from there. ... I'm TRYING to write a pocket pc app that allows you to look at ...
    (microsoft.public.pocketpc.developer)
  • RE: System.IO.IOException occurred in mscorlib.dll
    ... "current folder" concept. ... > It throws the following exception. ... > I'm positive the file is not in use, Im developing with the Pocket PC ... I get the same error either on my device or on the emulator. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Load large image after unloading a large image
    ... When trying to load a large image on a Pocket PC 2003, after Disposing a large ... image and also after using GC.Collect, I get an exception with "Exception" ...
    (microsoft.public.dotnet.framework.compactframework)