Re: Normal for a HLA program?
- From: "Evenbit" <nbaker2328@xxxxxxxxxxx>
- Date: 13 Jan 2006 14:33:11 -0800
Sorry for "top post" but gotta run...
Try compiling with this:
HLA -lmerge:.text=.code -lstack:0x400,0x400 -lheap:0x400,0x400 myprog
santosh wrote:
> 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.
.
- References:
- Normal for a HLA program?
- From: santosh
- Normal for a HLA program?
- Prev by Date: Re: wait for vsync as linux user
- Next by Date: Re: wait for vsync as linux user
- Previous by thread: Re: Normal for a HLA program?
- Next by thread: Re: Normal for a HLA program?
- Index(es):
Relevant Pages
|