Google
 

Tuesday, December 28, 2004

Delphi 2005 Update #1 and memory leaks!

From borland.public.delphi.non-technical:

For those that still expirience memory leaks with
Update #1:

The severity of the memory leaks is proportional
to size of the source file being edited.

To completely resolve them:
Remove or rename the following packages
to disable Together:

"tgide90.bpl"
"borland.studio.together.dll"

in the \Bin directory.

It is not sufficient to disable Together from the Project
menu!!! The memory leaks due to Together will
happen as soon as you use the code editor and while
the Delphi is starting.

After you have disabled Together, you will notice, that
memory usage after D2005 has started is only half
of what it is otherwise. (85MB instead of 200 or so). The size
of the memory allocated by the process can be checked accurately with
this tool:

http://www.sysinternals.com/ntw2k/freeware/procexp.shtml

The Windows page file usage is not very accurate. But you get
a .NET and W32 side breakdown with that tool.

To get a .NET garbage collector breakdown use this:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto13.asp

You will be able to see the culprit (Together) on the work.

With the original release of D2005 there were memory leaks in
the code editor itself also. Even without Together.
Those have been fixed with Update #1.

I also found the IDE much more stable and reporting more
usefull error message after disabling Together.

I hope some will find this usefull.
Best Regards!
Atmapuri.

7 comments:

Reliable One Staffing Services said...

Excellent blog. It was so great and I bet I will
go back to it! I get to look online for blogs like
yours is a blessing.
Hey why don't you peep my pharmacy staffing
blog site.

Reliable One Staffing Services said...

I look for blogs as great as your work. Fine
blog. I found your site suitable for another visit!
Oh please, check for the blog site with my michigan pharmacy jobs
!

Reliable One Staffing Services said...

Extraordinary blog. Your site was hip and fresh
and we'll visit it again! I love surfing the internet
for blogs.
I'm looking at the possibility of checking your pharmacy jobs
blog.

Reliable One Staffing Services said...

Excellent blog.  I go though the web in search of
blogs like this one. Its so good, that I plan on
returning to its site!
Come as you are and look at my medical staffing
blog.

Reliable One Staffing Services said...

Awesome blog. I'm loving the site and I have to
return there soon! Going online, when I have the time,
I look for blogs close to your work!
Please take a journey to my pharmacy employement
blog.

Reliable One Staffing Services said...

Excellent blog. Your site was great and will be
finding it again!  I surf the net for blogs like
yours.
In my spare time I will look for your staffing services
blog.

job opportunitya said...

Enchanting blog. Your site was off the chain and I
will return! I peep the web for blogs just like this
one.
Come as you are and look at my plastic surgery specialist blog.