Re: memory problems
From: Silver (bucketofjun_at_dot.com)
Date: 11/27/04
- Previous message: Steve Maillet \(eMVP\): "Re: about suspend problem."
- In reply to: Boyd D. Mills: "memory problems"
- Next in thread: Boyd D. Mills: "Re: memory problems"
- Reply: Boyd D. Mills: "Re: memory problems"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 27 Nov 2004 17:49:21 GMT
I would guess that there is a memory leak somewhere in your code eating up
the heap - coincidentally I think it might be in the software package you
added.
There are a couple of tools to walk the heap (LMEMDEBUG being one) that
might help you. Chances are that it is a coding problem either using the
library, or in the library itself.
Geoff
-- "Boyd D. Mills" <BMills@VCIControls.ca> wrote in message news:u3S2$e90EHA.2192@TK2MSFTNGP14.phx.gbl... > Hi, > I am using a PB4.1 CEPC image build on a 64Meg Pentium PC104 board. > It seems coincidental that the problem has started since I stated using a > software library package that makes extensive use of "LocalAlloc( LPTR, > nbytes )" and "LocalFree( p )." I find this an odd coincidence since > several drivers use these memory manipulation calls as well so this may be a > moot observation. > > The symptom is that after some indeterminant length of time > (minutes/hours/days) I will subsequently get error messages when trying to > start new applications: > > "Cannot execute 'cmd'. A critical component is either missing or failing to > start due to low memory." > > Applications that are running during this state continue to function with no > perceived problems. > > This is less than helpful since sometimes I can get the system information > dialog box to display while the machine is in this state. It indicates > there is about 25Meg of application memory available and about 20Meg of data > memory available. So I don't think the total available memory is an issue. > > I am not familiar with the internals of the CE4.1 memory management. Is it > possible the memory has become too fragmented to allow a new application to > execute? ( A wild guess. ) > > Any idea as to the cuase of this issue or a possible solution. > >
- Previous message: Steve Maillet \(eMVP\): "Re: about suspend problem."
- In reply to: Boyd D. Mills: "memory problems"
- Next in thread: Boyd D. Mills: "Re: memory problems"
- Reply: Boyd D. Mills: "Re: memory problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|