Rewriting application from C# to MFC C++

L

LaSu

Hi!
I'm working on application written in C# but unfortunately because of
Windows CE memory architecture which has a limit of memory usage 32Mb
per each process. The most confusing part is that mine application
consumes about 14 Mb of memory but other processes load to mine memory
slot other dll and these dll files consumes more than 15 Mb of mine
memory. So in fact for mine application I don't have 32 Mb of memory,
all I can access is about 16Mb.
I'm wondering what impact on memory usage would have rewriting
application from C# (CF 2.0) co MFC in C++?
How much memory I will save?
Does anybody have experience with that?

Regards
Bartek
 
G

Guest

Moving to C++ would probably be worse, in fact. C# does a lot of work for
you putting things into shared memory outside the process's 32MB space. If
you don't know how to do that in C++, you'll likely put them inside your
process space and run out of memory much faster.

How do you know your app is using 14MB of space, and how do you know it's
all for the 32MB process slot?
 

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