mail-archives/mono-osx/2011-January/003621.html

120 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Memory Leak ?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Memory%20Leak%20%3F&In-Reply-To=AANLkTinV5A%3DMDj7Czzmrv9c4BqB5Pk8b4AiJR1qZh3pa%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003610.html">
<LINK REL="Next" HREF="003622.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Memory Leak ?</H1>
<B>kjpou</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Memory%20Leak%20%3F&In-Reply-To=AANLkTinV5A%3DMDj7Czzmrv9c4BqB5Pk8b4AiJR1qZh3pa%40mail.gmail.com"
TITLE="[Mono-osx] Memory Leak ?">kjpou at pt.lu
</A><BR>
<I>Mon Jan 10 09:38:45 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003610.html">[Mono-osx] Memory Leak ?
</A></li>
<LI>Next message: <A HREF="003622.html">[Mono-osx] Memory Leak ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3621">[ date ]</a>
<a href="thread.html#3621">[ thread ]</a>
<a href="subject.html#3621">[ subject ]</a>
<a href="author.html#3621">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello Duane
Yes the NSAutoreleasePool works in this instance. I suggested the
NSTimer.CreateRepeatingScheduledTimer solution because I have had
problems with the .Net Timers updating the user interface in MonoMac.
Most recently with Cocoa Bindings.
If anybody is interested it can be found here <A HREF="http://cocoa-mono.org/?p=212">http://cocoa-mono.org/?p=212</A>
Kenneth
On 1/9/11 11:29 PM, Duane Wandless wrote:
&gt;<i> The NSAutorelasepool is a very acceptable solution. I use that in all
</I>&gt;<i> my timer delegates.
</I>&gt;<i>
</I>&gt;<i> On Sun, Jan 9, 2011 at 4:51 PM, hazlema &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">hazlema at gmail.com</A>
</I>&gt;<i> &lt;mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">hazlema at gmail.com</A>&gt;&gt; wrote:
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Ahh, ok. Thanks
</I>&gt;<i> --
</I>&gt;<i> View this message in context:
</I>&gt;<i> <A HREF="http://mono.1490590.n4.nabble.com/Memory-Leak-tp3206211p3206340.html">http://mono.1490590.n4.nabble.com/Memory-Leak-tp3206211p3206340.html</A>
</I>&gt;<i> Sent from the Mono - OSX mailing list archive at Nabble.com.
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-osx mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A> &lt;mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>&gt;
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-osx mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110110/895c1dda/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110110/895c1dda/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003610.html">[Mono-osx] Memory Leak ?
</A></li>
<LI>Next message: <A HREF="003622.html">[Mono-osx] Memory Leak ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3621">[ date ]</a>
<a href="thread.html#3621">[ thread ]</a>
<a href="subject.html#3621">[ subject ]</a>
<a href="author.html#3621">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>