﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Issues  » Memory leakage</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 21 Apr 2026 07:12:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Memory leakage</title><link>http://forum.strataframe.net/FindPost32315.aspx</link><description>&lt;p class="MsoNormal"&gt;I have a maintenance form with two text boxes and a dropdownlist (See attachment).&amp;nbsp; All of the controls are bound toBO. Dropdownlist populationType is BusinessObject and it fill the data from amethod. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I am using enterprise server and this maintenance form fetchthe data from there.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Here is the issue: Before I open the maintenance form memorytaken by the application is 114.6 MB and as soon I open the form it was 127.1and when I close the form it was 120.2 MB. I did this many time to see what ishappening and here are the result:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Before Open ==&amp;gt; ASAP Opened&amp;nbsp;==&amp;gt;&amp;nbsp;After Closed&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;114.6 ==&amp;gt; 127.1 ==&amp;gt; 120.2&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;120.2 ==&amp;gt; 129.8 ==&amp;gt; 123.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;123.1 ==&amp;gt; 126.8 ==&amp;gt; 119.9&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;119.9 ==&amp;gt; 133.1 ==&amp;gt; 126.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;It is happening to all the maintenance form and theapplication becoming a&amp;nbsp;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 107%;"&gt;memory&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 107%;"&gt;&amp;nbsp;&lt;/span&gt;hog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Is there any way I can fix this?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;</description><pubDate>Thu, 26 Dec 2013 15:11:19 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Memory leakage</title><link>http://forum.strataframe.net/FindPost32339.aspx</link><description>Just to add to Keith, we spend a fair amount of time sending our code through profilers, such as the .NET Memory Profiler.&amp;nbsp; Everythign that Keith said was correct in regards to looking at the Task Manager, etc.&amp;nbsp; Even if you force a garbage collection, the task manager may still not reflect what is really going on.&lt;br/&gt;&lt;br/&gt;Tracking down memory leaks is a pain, but the tool that we use most often now is .NET Memory Profiler (&lt;a href="http://memprofiler.com/"&gt;&lt;a href="http://memprofiler.com/"&gt;http://memprofiler.com/&lt;/a&gt;&lt;/a&gt;) and you can see what references, handlers, etc. are being left open as well as objects that are not being disposed.&amp;nbsp; Sometimes it can be a very complicated process to track down the issue, and other times very obvious once you see it in the profiler, but in any case, you need a tool like this to really get to the bottom of it.</description><pubDate>Thu, 26 Dec 2013 15:11:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leakage</title><link>http://forum.strataframe.net/FindPost32338.aspx</link><description>Where are you seeing this "leak"?, if via Task Manager, you really cant go by that. Garbage collection in .NET by design won't return all the memory taken necessarily until it "needs" it, and the way it decides when it needs it is very complex.&amp;nbsp;If you have identified a "leak" by manually&amp;nbsp;making your code collect and finalize garbage collection or already seen the leak via a memory profiler, then I would look at&amp;nbsp;something in your application that&amp;nbsp;is holding on to a GC root and thus not allowing the&amp;nbsp;garbage collection to execute properly.&lt;br/&gt;&lt;br/&gt;I have very recently hunted down what I thought were possibly leaks in SF using &lt;strong&gt;ANTS Memory Profiler&lt;/strong&gt;&amp;nbsp;in a very large and complex application.. and it was my code, not SF.&lt;br/&gt;&lt;br/&gt;Hope that helps a bit.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 26 Dec 2013 14:47:35 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Memory leakage</title><link>http://forum.strataframe.net/FindPost32322.aspx</link><description>I tried using local database (not using enterprise server) and the result were same.</description><pubDate>Tue, 26 Nov 2013 14:13:54 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item></channel></rss>