Re: HeapCreate() : not enough storage is available
- From: "Olivier M" <olivier_martin@xxxxxxxxxxx>
- Date: 13 Dec 2006 02:15:59 -0800
So, the only way to solve this problem, if i have understood, it's to
add new RAM in my device ...
Thanks,
Olivier
Geoff wrote:
It seems common that desktop programmers think that 'virtual memory' is
something to do with the hard drive. This is usually memory paging they
are thinking of and it uses virtual memory mapping to achieve its goal.
Virtual memory mapping is simply a way to map logical addresses that the
CPU sees to an address on a bus.
Olivier M wrote:
Hi all,
i am writing a driver creating several heaps during boot time. And it
fails when there is no more available physical memory.
Is There any swap file with WinCE for freeing some physical memory ?
Maybe i have misunderstood difference between physical and virtual
memory ...
Trace:
(...)
==> dwAvailPhys:176128 dwAvailVirtual:1073676288
[Allocation]
==> dwAvailPhys:172032 dwAvailVirtual:1073676288
[Allocation]
==> dwAvailPhys:167936 dwAvailVirtual:1073676288
[Allocation]
==> dwAvailPhys:163840 dwAvailVirtual:1073676288
[Allocation]
ERROR: line 421: Not enough storage is available to process this
command. (allocated memory: 12886016)
In this example, i was trying to allocate 12886016 byte in the context
:
dwAvailPhys:163840 dwAvailVirtual:1073676288
Cheers,
Olivier
.
- References:
- HeapCreate() : not enough storage is available
- From: Olivier M
- Re: HeapCreate() : not enough storage is available
- From: Geoff
- HeapCreate() : not enough storage is available
- Prev by Date: Re: How to identify the keypad interrupt
- Next by Date: Re: HeapCreate() : not enough storage is available
- Previous by thread: Re: HeapCreate() : not enough storage is available
- Next by thread: Re: HeapCreate() : not enough storage is available
- Index(es):
Relevant Pages
|
Loading