<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: SQL Server 2005 CLR marked for unload due to memory pressure error</title><link>http://sqlserver.ro/forums/thread/8120.aspx</link><pubDate>Fri, 19 Mar 2010 14:05:13 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8120</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8120.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8120</wfw:commentRss><description>Daca nu este aplicat nici un Service Pack atunci poti verifica si urmatoarele articole de suport:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/917271"&gt;FIX: Error message when you run a SQL Server 2005 application that contains user-defined data types: "AppDomain 3 (&amp;lt;db_name&amp;gt;.dbo[runtime].2) is marked for unload due to memory pressure"&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/928083"&gt;FIX: You may receive an error message when you run a CLR stored procedure or CLR function that uses a context connection in SQL Server 2005&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Pentru CLR codding best practices: &lt;a href="http://www.sqlskills.com/resources/Whitepapers/SQL%20Server%20DBA%20Guide%20to%20SQLCLR.htm#_Toc110615520"&gt;The Database Administrator’s Guide to the SQL Server Database Engine .NET Common Language Runtime Environment&lt;/a&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: SQL Server 2005 CLR marked for unload due to memory pressure error</title><link>http://sqlserver.ro/forums/thread/8069.aspx</link><pubDate>Tue, 23 Feb 2010 22:34:43 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8069</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8069.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8069</wfw:commentRss><description>Danke!&lt;br /&gt;Inca mai citesc, dar macar am o directie. &lt;br /&gt;Si daca nu inteleg ceva intreb &lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;</description></item><item><title>Re: SQL Server 2005 CLR marked for unload due to memory pressure error</title><link>http://sqlserver.ro/forums/thread/8067.aspx</link><pubDate>Mon, 22 Feb 2010 23:04:59 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8067</guid><dc:creator>rremus</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8067.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8067</wfw:commentRss><description>Atasezi debugger-ul (Windbg), incarci SOS cu :&lt;br /&gt;&lt;br /&gt;.loadby sos mscorwks &lt;br /&gt;&lt;br /&gt;si cauti leak-ul. Mai intit vezi ce tipuri si cite instante ai in heap:&lt;br /&gt;&lt;br /&gt;!dumpheap -stat&lt;br /&gt;&lt;br /&gt;Apoi vezi unde sint instantele din tipul cu cele mai multe obiecte:&lt;br /&gt;&lt;br /&gt;!dumpheap -type &amp;amp;lt;LeakedTypeName&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;si, daca mai e nevoie, cauti sa vezi ce pastreaza o referinta ce cauzeaza leak-ul:&lt;br /&gt;&lt;br /&gt;!gcroot &amp;amp;lt;AddressOfObject&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;Vezi http://rusanu.com/2009/01/19/clr-memory-leak/</description></item><item><title>SQL Server 2005 CLR marked for unload due to memory pressure error</title><link>http://sqlserver.ro/forums/thread/8064.aspx</link><pubDate>Mon, 22 Feb 2010 15:40:51 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8064</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8064.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8064</wfw:commentRss><description>&lt;P&gt;Am un trigger CLR pe SQL Server 2005, ca din cutie, fara SP, fara hotfixs si asa.&lt;BR&gt;Si din cind in cind nu mai pot modifica nimic in tabela cu triggeru&lt;/P&gt;
&lt;P&gt;Cam asa ceva am in log&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;02/22/2010 12:20:09,spid69,Unknown,AppDomain 33 (xxx.dbo[runtime].32) created.&lt;BR&gt;02/22/2010 12:20:09,spid55,Unknown,AppDomain 32 (xxx.dbo[runtime].31) unloaded.&lt;BR&gt;02/22/2010 12:20:02,spid1s,Unknown,AppDomain 32 (xxx.dbo[runtime].31) is marked for unload due to memory pressure.&lt;BR&gt;02/22/2010 12:19:59,spid55,Unknown,AppDomain 32 (xxx.dbo[runtime].31) created.&lt;BR&gt;02/22/2010 12:19:56,spid1s,Unknown,AppDomain 31 (xxx.dbo[runtime].30) unloaded.&lt;BR&gt;02/22/2010 12:19:56,spid1s,Unknown,AppDomain 31 (xxx.dbo[runtime].30) is marked for unload due to memory pressure.&lt;BR&gt;02/22/2010 12:07:38,spid62,Unknown,AppDomain 31 (xxx.dbo[runtime].30) created.&lt;BR&gt;02/22/2010 12:07:37,spid1s,Unknown,AppDomain 30 (xxx.dbo[runtime].29) unloaded.&lt;BR&gt;02/22/2010 12:07:37,spid1s,Unknown,AppDomain 30 (xxx.dbo[runtime].29) is marked for unload due to memory pressure.&lt;BR&gt;02/22/2010 12:00:29,spid55,Unknown,AppDomain 30 (xx.dbo[runtime].29) created.&lt;/P&gt;
&lt;P&gt;Trigger are un SqlConnecion, sqlCommand si un SqlDataReader, le dadeam close dar nu exclud un leak....&lt;/P&gt;
&lt;P&gt;Idei de unde sa apuc problema? Am trecut pe using toate si dau close la tot ce prind, altceva.&lt;/P&gt;
&lt;P&gt;Multumesc!&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>