OUT OF MEMORY exception received while launching .Net CF exe from

R

Ranjit

Hi All,

I have an Embedded Visual Basic(EVB) application with several modules which
I started migrating to .Net CF in phases - module by module. I completed
the development of one of the module in .Net CF and created an exe for the
same. I am opening this .Net CF exe from EVB application on open of two
(or) three screens in .Net CF exe. I am receiving an application OUT OF
MEMORY exception. Please let me know how I can avoid this problem.

- In the previous application when all modules were in EVB they were
working fine without any problem. What could be the possible root cause
and how I can solve this problem?
 
G

Guest

We know really nothing about what you're doing, so all I can guess is that
the exception is thrown becasue the application is probably out of memory.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
R

Ranjit

Hi,

Is there any way we can restrict amount of memory used by an application in
Pocket PC. i.e. As for my knowledge any application running under Pocker
PC will be allocated some fixed amount of memory eventhough it uses it or not
& it is allowed to run its application within that alloted memory. Am i
right ?

So my idea is as my EVB application consists of a screen with a button, I
can restrict the amount of memory it should use. So, that my .Net
application(which is running later) will have enough memory. Is this
possible. Is this correct.. ?
 

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