Normal for a HLA program?
- From: "santosh" <santosh.k83@xxxxxxxxx>
- Date: 13 Jan 2006 08:28:45 -0800
Hi all,
Apologies if this starts a flame-thread but my only Yahoo! account is
having login problems, so I'm unable to access AoA programming group.
I've been toying with HLA recently and I coded together a small
one-page program to keep a running total of signed integer input
values. It declares and uses three "int32" variables though I could
have used registers instead.
But the curious thing is, I noticed that the executable when running,
consumes approx. 32.6 Mb of virtual memory and about 1.6 Mb of physical
memory though the latter drops down to a few hundred Kbs after a while.
Is this normal/intended or is something wrong with this particular HLA
program/setup?
Even though virtual memory is "virtual" still 32 Megabytes seems a bit
much for a trivial demo. A comparable C version uses 160 Kb virtual and
180 Kb of physical memory. I understand that the HLA standard library
employs a runtime SEH system but even so, 32 Megabytes... ?
Can anyone shed any light on this?
Thanks and sorry again for any flame wars.
.
- Follow-Ups:
- Re: Normal for a HLA program?
- From: sevagK
- Re: Normal for a HLA program?
- From: Evenbit
- Re: Normal for a HLA program?
- From: Betov
- Re: Normal for a HLA program?
- Prev by Date: Re: The fun goes on
- Next by Date: Re: Disabling The Keyboard
- Previous by thread: Disabling The Keyboard
- Next by thread: Re: Normal for a HLA program?
- Index(es):
Relevant Pages
|
Loading