memory problem

  • Thread starter Thread starter Daniel Moth
  • Start date Start date
Hello,



I read some where that an application can use up to 32 MB for memory.

I have an application that use more than 130 dlls and have to load maps and
data.



Only the dlls is more than 32 MB.



Is there any solution for my problem?



I use an SD card of 2 Giga. The application and all the data is on the card.

I want to use all the device memory (more than 32 MB) to run the
application.



How can I do that?



Thanks
 
I think you need to better understand CE's memory architecture. Yes, a
process gets a 32MB slot, but if it needs large amounts of data it can
allocate from shared memory and get as much as the device has free. Of
course the app has to be *written* that way. 130 Dlls may also present a
problem as you could well run out of address space for them to load, so even
if you have enough memory phycially for them, the may not all be able to
load.

Is this application even written and compiled for CE, or are you porting it?

-Chris
 
Thanks for the answers

The application was written for PC and we porting it for CE.
We took of many of the code by using #if def, but still, the application is
very big.

what do you mean by "it can allocate from shared memory and get as much as
the device has free"?
We are using C# ,not embeded c++, How can I allocate memory?

Do you know any article for the subject?

Thanks,
Ofer
 
Back
Top