Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How much memory can a Delphi program use?

earth_walkerearth_walker Member Posts: 184
Hi!

I want to know how much memory can a Delphi GUI program use. Can it use whatever system memory which is availiable? for example, my computer have 64Mb, does it mean that at the time operation system and other software using 50Mb, the Delphi GUI program can have up to 14Mb to use? Can the Delphi GUI program use virtual memory on harddisk under Windows?

Thank you!

Comments

  • zibadianzibadian Member Posts: 6,349
    : Hi!
    :
    : I want to know how much memory can a Delphi GUI program use. Can it use whatever system memory which is availiable? for example, my computer have 64Mb, does it mean that at the time operation system and other software using 50Mb, the Delphi GUI program can have up to 14Mb to use? Can the Delphi GUI program use virtual memory on harddisk under Windows?
    :
    : Thank you!
    :
    Each win32 program has a memory space of 4GB, so also a Delphi program. This is automatically handled by the Delphi compiler, and should never be an issue for most programs.
  • earth_walkerearth_walker Member Posts: 184
    Great! Thank you!
  • bikibiki Member Posts: 492
    [green]Any program written for Win32 can use no more than 2 GB of address space. The remaining 2GB is used for kernel code. Thus, all programs can use at most 2 GB in Win32. However in Win2000 Advanced Server, a program can use upto a max of 3GB if the program is specially compiled.[/green]
    [hr][red]~Bikram[/red]

  • zibadianzibadian Member Posts: 6,349
    : [green]Any program written for Win32 can use no more than 2 GB of address space. The remaining 2GB is used for kernel code. Thus, all programs can use at most 2 GB in Win32. However in Win2000 Advanced Server, a program can use upto a max of 3GB if the program is specially compiled.[/green]
    : [hr][red]~Bikram[/red]
    :
    :
    Sorry, my mistake, but it is still enough for almost all programs.
  • earth_walkerearth_walker Member Posts: 184
    Yes, it must be enough. Then if there is problem on the 64Mb memory, I think the best solution is to buy memory and install.

    Thank you!

  • bikibiki Member Posts: 492
    [green]True, it is enough for 99 percent of the apps out there.
    However, your suggestion about 64 Megs of memory does not really hold true. The 2 GB is after all, virtual memory, if it's backed by 'real' RAM, great. If not, there's always the HDD swap file. Remember, Win32 is virtual memory enabled!
    [/green]
    [hr][red]~Bikram[/red]

  • bikibiki Member Posts: 492
    [green]You're right it is more than enough for most programs. And looking at your Delphi track-record, I'd say you do seem to be one helluva Delphi coder! :)[/green]
    [hr][red]~Bikram[/red]

  • earth_walkerearth_walker Member Posts: 184
    Thank you!

    I'm a student making GUI program for prof and started studying Delphi atabout one month ago. The reason I raised the memory question is that I was told, the program may be use to solve some very big problem (even if it is not complicated), such as the data of up to a million nodes for finite element method.

    I have to say thank you to you and the other people in this forum, because I got so much help here.

    Thank you!
Sign In or Register to comment.