Re: Relationship between versions of .Net Framework



On 17 Jun, 13:00, "Alvin Bruney [ASP.NET MVP]" <vapor dan using hot
male spam filter> wrote:
what memory leak are you seeing? You need to describe it better and give
some more details.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively onwww.lulu.com/owc$19.99
-------------------------------------------------------

"P Chase" <peter.ch...@xxxxxxxxxxxxxxxxxx> wrote in message

news:9f5a9847-26a7-4c2d-802e-a4b826b619f7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I am developing an application using Visual Studio 2005, Windows XP
(or 2003) and C#. I am using facilities of .Net Framework 3.0, but not
of 3.5.

I am falling foul of some memory leaks in the framework, which
Microsoft claim to have fixed in .Net Framework 3.5 SP1.

I confess to not really understanding how the various versions of .Net
Framework that have been installed on my machines are actually used by
the application.

So my question is: if the leaks really are fixed in 3.5 SP1, will
installing that service pack also fix the same leaks in 3.0?

(Of course, only the Beta of 3.5 SP1 is currently available, but I
could be brave and try it).

My question was not intended to be about the specific issue I am
facing, but the general issue of whether patching .Net Framework 3.5
would also affect my code which is a client of .Net Framework 3.0. I
don't understand how the various versions of .Net that have been
installed interact.

However, since you ask, I can also give details of the specific issue
I am trying to resolve.

I have a server application that uses FlowDocument to turn some text
and images into a nice-looking document. The FlowDocument is
constructed from XAML.

If the FlowDocument has no images in it, then when I am finished with
it, all memory is happily released. But if there are Image elements in
the XAML, then lots of memory is leaked, and the files providing the
image contents are held open.

I read that some image-related leaks in .Net Framework itself are
fixed by 3.5 SP1. So I want to know whether these might fix my issues.
I hoped to get an indication of the likelihood of this, before going
to the trouble of installing SP1, particularly if it might be
difficult to uninstall.

http://blogs.msdn.com/jgoldb/archive/2008/05/04/memory-leaks-in-wpf-based-applications-blog-update.aspx
.



Relevant Pages

  • Re: often cannot insert images into Word document
    ... It is no longer a universal bug & I've seen no reports of the problem not ... Other file types should insert correctly with no problem.] ... Drag-and-drop of images works fine ... always do a repair permissions after installing any software. ...
    (microsoft.public.mac.office.word)
  • Re: Login
    ... I have to click my username to get to the desktop. ... ..NET Framework is a Microsoft component that is required by some programs. ... it's possible installing the HP printer drivers/software could have ... On the next restart, ...
    (microsoft.public.windowsxp.basics)
  • Re: Amount of memory saved by INSTALL-ing ?
    ... images used that are not installed. ... installing each image and use inst/full/global)? ... My standard recommendation to clients is that ... could have been solved by a performance review. ...
    (comp.os.vms)
  • Re: Amount of memory saved by INSTALL-ing ?
    ... images used that are not installed. ... installing each image and use inst/full/global)? ... and a notice saying "uncomment these if you have many users" ... mutiple queues can share a DCPS symbiont, ...
    (comp.os.vms)
  • Re: ?for an MVP regarding dot Net updates recieved today repeating themselves?
    ... for your replies; hopefully one of the MVPs out ... I will note that even on shutdown it has said it was installing on at least ... Add Remove Programs shows .NET Framework 1.0 ... I'm thinking I need to Uninstall some of these except for 3.0 perhaps?? ...
    (microsoft.public.windowsxp.perform_maintain)