In addition to Peter's advice below, which is correct, you should be aware
of a limitation of the emulator. The emulator accepts a maximum of 64 MB
of RAM. Not all of that RAM can be used by your application. A large part
of the RAM gets used by the operating system, becuase in the real devices,
it uses flash memory for some of the operating system, but in the emulator
it uses a lot more of your emulated RAM. We've seen an average of 47 MB of
free memory left over after an English PPC image gets loaded in the
emulator. If you're using a foreign emulator image, then it drops down to
42 MB of free space. Then if you put SQL CE and a large database on your
device, you could be left with very little RAM.
We're fixing this RAM limitation in the next Emulator which will ship in
Whidbey.
This posting is provided "AS IS" with no warranties, and confers no rights.
Christin Boyd
Program Manager
Visual Studio for Devices
Microsoft Corporation
--------------------
| From: "PeterB" <
[email protected]>
| References: <
[email protected]>
| Subject: Re: allocate more than 16MB to PPC2002 emulator?
| Date: Thu, 25 Sep 2003 09:51:11 +0200
| Lines: 25
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: h113n2fls34o264.telia.com 217.208.187.113
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:34389
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| If you are using VS .NET 2003 you can do this via tools->options->device
| tools->devices select your emulator click configure->System
|
| If you are using embedded visual tools I think you need to edit the
| registry. There is info about that in the ppc 2002 setup readme file.
|
| br,
|
| Peter
|
|
|
| | > is it possible for the PPC2002 emulator to have more than 16MB of
memory?
| >
| > after installing the CF and SQLCE and copying over the program (only
144k
| > btw) there's only 6MB free program memory and just starting up the app
| uses
| > 5MB (which brings up another point: are there any general memory
| > optimization tips? that seems a bit excessive)
| >
| >
|
|
|