Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How much memory can a Delphi program use? Posted by earth_walker on 2 Jul 2003 at 8:50 AM
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!
Report
Re: How much memory can a Delphi program use? Posted by zibadian on 2 Jul 2003 at 11:23 AM
: 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.
Report
Re: How much memory can a Delphi program use? Posted by earth_walker on 2 Jul 2003 at 11:46 AM
Great! Thank you!
Report
Re: How much memory can a Delphi program use? Posted by biki on 2 Jul 2003 at 12:16 PM
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.

~Bikram

Report
Re: How much memory can a Delphi program use? Posted by zibadian on 2 Jul 2003 at 1:00 PM
: 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.
:
~Bikram
:
:
Sorry, my mistake, but it is still enough for almost all programs.
Report
Re: How much memory can a Delphi program use? Posted by earth_walker on 2 Jul 2003 at 1:30 PM
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!

Report
Re: How much memory can a Delphi program use? Posted by biki on 2 Jul 2003 at 4:11 PM
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!


~Bikram

Report
Re: How much memory can a Delphi program use? Posted by biki on 2 Jul 2003 at 4:13 PM
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! :)

~Bikram

Report
Re: How much memory can a Delphi program use? Posted by earth_walker on 2 Jul 2003 at 5:59 PM
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!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.