Application runtime memory usage

S

Shloma Baum

Hi,

I would like to ask if its reasonable for a .net cf 2.0 application to take
up about 4 MB of memory, assuming that this is the only .net application
running on the device.

The usage in the app is as follows:

about 4 component classes, 4 datasets, 10 datatables 3 forms with some
little controls, an xmlDocument containging and processed about 1.17 kb.

I understand that this is a real though question to ask as its hard to give
an answer without seeing the actuall code and what it does, however what I'm
after is to hear from other developers that have some similer setups what
thier run memory usage is.

Thanks in advance
Best Regards,
Shloma Baum
 
G

Guest

Well since you'e using DataSets, 4MB could be reasonable. 40MB could be
reasonable. In fact any number could be.

-Chris
 
G

Guest

I am afraid it is "reasonable" that ur simple application takes about 4 mb. I
have simple application in CF2.0 which uses sql ce 3.0 and it has so high
memory consumption too.

What u start CF 2.0 application it consume aboat 4MB of ram even before your
application code begins to work. Its propably consumption of sole framework
startup.

What is even more suprising is that when i open connection to database using
ADO, it consumes another almost 2MB of ram!

Since Windows CE 5.0 consumes aboat 8 MB of ram after startup, it is problem
to make CF 2.0 application for devices with 32MB ram only where only 16 MB is
available for programs by default.


With default memory settings on 32MB device i was not even able to start my
application and call database engine to create new database:)

Isn't there any workaround for CF 2.0 for devices with low memory?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top