Board index » delphi » Delphi 5 is eating memory
Herman van der Hoek
![]() Delphi Developer |
Sat, 02 Aug 2003 20:31:21 GMT
|
Herman van der Hoek
![]() Delphi Developer |
Sat, 02 Aug 2003 20:31:21 GMT
Delphi 5 is eating memory
Hello there,
I've an extensive project which I load in Delphi 5 under WinNt. When I look Herman |
Bruce Robert
![]() Delphi Developer |
Sat, 02 Aug 2003 22:37:33 GMT
Re:Delphi 5 is eating memory"Herman van der Hoek" <hvdh...@wanadoo.nl> wrote in message Quote> Hello there, |
Sailo
![]() Delphi Developer |
Sat, 02 Aug 2003 23:10:01 GMT
Re:Delphi 5 is eating memoryQuote>...... (I'v got a swapfile of 1 Mb and that's normally your swap file (pagefile.sys) to at least the size of physical RAM + 12 MB, so if you have 128 MB RAM it should be 140MB. That should be your first thing to fix. |
Herman van der Hoe
![]() Delphi Developer |
Sat, 02 Aug 2003 23:20:18 GMT
Re:Delphi 5 is eating memoryYes, sorry, it's a typo. Make it a 1 Gig swapfile !! Quote"Sailor" <r...@tsteeldedeviltails.com> wrote in message Quote> >...... (I'v got a swapfile of 1 Mb and that's normally |
Herman van der Hoe
![]() Delphi Developer |
Sun, 03 Aug 2003 16:40:15 GMT
Re:Delphi 5 is eating memoryI found the solution this morning, triggered by a discussion in borland.public.delphi.ide about memory-laeks in D5 IDE. For reasons of versioncontrol I moved my project a while ago to a different directory-structure. Of course also the directory with dcu files was moved. A compile or build was working ok, but I noticed that every second a 160 KB disappeared. This morning I discovered that some pathnames of the 115 units in the projectfile were not correct. After I corrected this, saved the project, closed Delphi en opened the project again, the problem was gone. Apparently the IDE keeps searching for the files from the project-file, although they are found as DCU-files. I consider this a bug: At least a warning should be given. Cheers, Herman van der Hoek. "Herman van der Hoek" <hvdh...@wanadoo.nl> wrote in message Quote> Hello there, |
Gurbl
![]() Delphi Developer |
Sun, 03 Aug 2003 19:32:48 GMT
Re:Delphi 5 is eating memoryOn Tue, 13 Feb 2001 10:10:01 -0500, "Sailor" Quote<r...@tsteeldedeviltails.com> wrote: be inversely proportional to the amount of RAM. ie. A machine with 256MB RAM is not going to need as much swap space as one with 64MB. The necessary size of your swap file depends largely on what you use A 1Gb combined size is probably ideal for most users, except those I wouldn't recommend going under about 500Mb (combined), but most ppl It's also a good idea to have a seperate swap partition, so that if Although not addressing your original problem, I hope this clears up |
Bj?rge S?the
![]() Delphi Developer |
Sun, 03 Aug 2003 20:06:22 GMT
Re:Delphi 5 is eating memory"Gurble" <gurbleREM...@THISclear.net.nz> skrev i melding news:b8qk8tk72f2v2h6p41na3841amt8eojjvt@4ax.com... Quote
the reason is, when an application can enjoy 1 Gb of Virtual memory when 64Mb RAM is installed, the chance the interesting portions will recide in RAM is little. You kind of "fool" the applications to believe it may use more RAM than it should (concidering performance). For most apllications this is irrelevant, I guess, but I've run into this topic with database servers. -- Bjoerge Saether Consultant / Developer http://www.itte.no Asker, Norway bjorgeremovet...@itte.no (remove the obvious) |
Rob Sto
![]() Delphi Developer |
Mon, 04 Aug 2003 03:31:22 GMT
Re:Delphi 5 is eating memoryQuoteGurble wrote: Quote>The chosen swap file size should in fact be inversely proportional space than one with 64 MB depends entirely on what the user does with that machine. Personally I run NT4 on a system with 256 MB of RAM, with a 512 MB page file - and my page file usage so far has maxed out at about 400 MB. Spend a little time in the NT newsgroups and you will find A VERY important consideration for NT and W2K is that if the Hence, for safety reasons a 256 MB NT or W2K machine _DOES_ need Hard drive space is dirt cheap - cheaper than the time it Note also that with NT and W2K any RAM used by apps that have Quote> It's also a good idea to have a seperate swap partition, so that if a page file of that size will be permanently allocated. Hence it will never become more fragmented than it was at the time it was allocated. As well, putting the swap file on a dedicated partition will An excellent rule of thumb is that your swap file should be If you have a tiny 1.6 GB hard drive gathering dust somewhere, Quote>I'm not too sure about NT, as I primarily use Win9X and every partition with NT and W2K - however, you only NEED one. About the only time multiple page files are justified is when Quote
that is probably going to{*word*211}off the sysadmin at his workplace when he starts to phone the help desk about "insufficient virtual memory". You are the kind of user that SysAdmins dread - you know just enough to be dangerous. Rob |
Herman van der Hoe
![]() Delphi Developer |
Mon, 04 Aug 2003 16:04:42 GMT
Re:Delphi 5 is eating memoryHey guys, I thougt this was a discussion about a bug in Delphi5 IDE and not about Herman van der Hoek Quote"Rob Stow" <rob.s...@cnnsimail.com> wrote in message Quote> Gurble wrote: |
Gurbl
![]() Delphi Developer |
Tue, 05 Aug 2003 13:02:03 GMT
Re:Delphi 5 is eating memoryHey,{*word*106}head. Before you start flaming ppl, maybe you should actually read my post. I believe I made it quite clear that I was speaking from a Win9X & If you can't handle someone offering an opinion that might differ from And as for your wee remark at the bottom of your post, you are the Go to hell. I was just trying to provide some help, which I still |
Rob Sto
![]() Delphi Developer |
Wed, 06 Aug 2003 01:38:12 GMT
Re:Delphi 5 is eating memoryQuoteGurble wrote: thus you were speaking from very limited experience. Rob |