Re: Normal for a HLA program?



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.

.



Relevant Pages

  • Normal for a HLA program?
    ... so I'm unable to access AoA programming group. ... Is this normal/intended or is something wrong with this particular HLA ... Even though virtual memory is "virtual" still 32 Megabytes seems a bit ... 180 Kb of physical memory. ...
    (alt.lang.asm)
  • Re: Lengthy merge code
    ... Do you think bumping the virtual memory might help? ... customized letters for our students. ... to write new programming, so I'm stuck with my pages and pages of merge ... there's an includetext function for a document. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Virtual Memory Advice for Vista 64 & 8GB of Ram
    ... "Dustin Harper" wrote: ... Virtual Memory which seems excessive, I can't help but wonder if it ... be better for me to set the VM myself instead of letting Windows handle ... Installed Physical Memory 8.00 GB ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Zones in Linux
    ... The issue is how much of the memory is visible in kernel *virtual memory* ... There is a total visibility of 4GB of virtual memory. ... physical memory are mapped 1-to-1 into kernel virtual memory space. ...
    (comp.os.linux.development.system)
  • Re: virtual memory
    ... In particular, you can have virtual memory without swap space, but not vice versa. ... etc.) but did support swapping. ... Perhaps it would be better to say that software transparent swapping requires virtual memory. ... This system gives software transparent swapping to each application, but only for a limited range of memory (since swapping it into physical memory is all or nothing). ...
    (comp.arch.embedded)