[Mono-list] Memory leak

Alan McGovern alan.mcgovern at gmail.com
Sat Feb 7 09:40:15 EST 2009


Remove the .d from the end. Google doesn't like me attaching .exe files.
View the IL in reflector, you'll see they are pretty much identical, one has
just optimised the while loop into a more efficient structure. leak.exe
leaks when you double click on it, noleak.exe doesn't.

Alan.

On Sat, Feb 7, 2009 at 2:40 PM, Jon Harrop <jon at ffconsultancy.com> wrote:

> On Saturday 07 February 2009 14:34:03 you wrote:
> > You tried compiling in VS with both optimisations off and optimisations
> on
> > and then running the resulting exe under MS.NET?
>
> Yes.
>
> > The former leaks and the latter doesn't.
>
> Both leak under Mono and neither leak under .NET for me.
>
> > I can attach both assemblies if you wish.
>
> Please do.
>
> --
> Dr Jon Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com/?e
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090207/008ca5a4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leak.exe.d
Type: application/octet-stream
Size: 5120 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090207/008ca5a4/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noleak.exe.d
Type: application/octet-stream
Size: 5120 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090207/008ca5a4/attachment-0003.obj 


More information about the Mono-list mailing list