﻿<?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 Application Framework - V1 » WebForms (How do I?)  » Memory leak SF BO with DevExpress ASPxDataGridView</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 17 May 2026 07:34:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost22309.aspx</link><description>Hi,&lt;br&gt;
I am facing memory leak problem when using SF BusinessObject and DevExpress ASPxDataGridView. &lt;br&gt;
I have simple test project, which only has one BO, bind to ASPxDataGridView. It does nothing complicated, just load all records in Page_Load if not IsPostBack.&lt;br&gt;
&lt;br&gt;
I found that, the memory usage would become double when I just "refresh" the page. I also used dotTrace profiler and found that # of BO instances keep increasing. I suspect it is the same issue with the post http://forum.strataframe.net/Topic20903-8-1.aspx.&lt;br&gt;
&lt;br&gt;
I have prepared sample project and the dotTrace memory profiler files for your reference. MemoryLeak1.dtm is first load memory snapshot and MemoryLeak2.dtm is 2nd snapshot after refresh.&lt;br&gt;
&lt;br&gt;
As the file size &gt; 30MB, please download it from http://www.visualsolutions.com.my/blog/chankk/WebApplication6.zip&lt;br&gt;
&lt;br&gt;
Hope you could get back to me as soon as possible! It is very urgent!&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Fri, 15 Apr 2011 05:29:13 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29882.aspx</link><description>Hi&lt;div&gt;I have debug and have temporary fix for this issue. I changed code in SF as below. What I tried to do is expose the instance of BusinessBindingSource used by WBBSEnumerator, then on page_unload, dispose it. At this moment, it doesn't solve my issue. I am in the progress to do more detailed testing to see if any impact to data editing inside gridview. Hope it helps SF team to speed up the permanent fix. Thank you&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;div&gt;Public Structure WBBSEnumerator&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Implements IEnumerator&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Implements IEnumerable&lt;br/&gt;&lt;br/&gt;&lt;div&gt;#Region " Constructors "&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;summary&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' Initializes a new instance of this Enumerator structure.&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;/summary&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;param name="bo"&amp;gt;&amp;lt;/param&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;param name="start"&amp;gt;&amp;lt;/param&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;param name="count"&amp;gt;&amp;lt;/param&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Public Sub New(ByVal bo As BusinessLayer, ByVal start As Integer, ByVal count As Integer)&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;Me._BBS = bo.GetEnumerable(True, False)&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me._BusinessObjectEnumerator = Me._BBS.GetEnumerator()&lt;/font&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me._CurrentCount = 0&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me._MaxCount = count&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me._StartIndex = start&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Sub&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;''' More code&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Public ReadOnly Property BBS() As BusinessBindingSource&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&lt;br/&gt;&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Return CType(Me._BBS, BusinessBindingSource)&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Get&lt;/font&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Property&lt;/font&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Structure</description><pubDate>Fri, 15 Apr 2011 05:29:13 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29798.aspx</link><description>any update?&lt;div&gt;Thank you</description><pubDate>Tue, 29 Mar 2011 07:00:07 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29772.aspx</link><description>I am totally agree that SF really helpful.&amp;nbsp;&lt;div&gt;However, my customer and management want solution. Without that, everything is nothing for them.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Once again, very much appreciated on kindly support</description><pubDate>Wed, 23 Mar 2011 20:45:21 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29770.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;We use SF / DX combination for everything and have no problems but we don't use web forms. Anyway that's not why I'm posting. I just wanted to say that I think SF support is simply outstanding. Even though we don't use it much it is really nice to know such support depth is there.&lt;br/&gt;&lt;br/&gt;Cheers, Peter</description><pubDate>Wed, 23 Mar 2011 16:11:02 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29769.aspx</link><description>Same issue, same problem.&amp;nbsp; When a handler is not released, the object cannot be disposed.&amp;nbsp; Thus you get a memory leak.&amp;nbsp; That is why it is so important for all controls to work within the confines of the framework and interfaces used therein.&amp;nbsp; In this example, the DevExpress controls that use attach to the IEnumerable interface are not releasing the handlers as expected.&amp;nbsp; Thus, a memory leak.&amp;nbsp; Again, we will see if there is something we can do to accommodate all 3rd party controls.&amp;nbsp; But here is one thing that I have already proven.&amp;nbsp; We can use a Custom BBS and an XtraReport with no memory leak whatsoever.&amp;nbsp; This is a very common control and combination of tools used by SF users.&amp;nbsp; Some of our largest users also use the XtraReports within massive applications.&amp;nbsp; And if they were experiencing memory leaks like you have described, there would be mass chaos. The DevExpress web grid is another story, however, as most people take a different approach, as I have mentioned in previous dealings with your current issue.&lt;br/&gt;&lt;br/&gt;Regardless, I would love nothing more than to find a solution on our side so we can get this behind us.</description><pubDate>Wed, 23 Mar 2011 10:14:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29768.aspx</link><description>Hi&lt;div&gt;I hope I didn't defocus you, I need solution on memory leak which happen to ASP.NET XtraReport as well. I am not sure if the same root cause as ASPxGridView.</description><pubDate>Wed, 23 Mar 2011 10:03:18 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29767.aspx</link><description>Which makes sense as this is a part of the IEnumerable interface to which the external controls bound to the WBBS or BBS can control the navigation of the object.&amp;nbsp; However, it is their responsibility to add and remove the handler.&amp;nbsp; The WBBS doesn't create the handler for the grid, the grid creates the handler.&amp;nbsp; Thus the crux of the problem.&amp;nbsp; We are going to see if there is a way for us, through reflection, to cut the ties to the control.&amp;nbsp; But at the moment the control is hanging on to the WBBS, not the other way around.</description><pubDate>Wed, 23 Mar 2011 09:50:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29766.aspx</link><description>OK.&lt;div&gt;Anyway, hope you found the solutions soon.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;BTW, as I informed earlier, I sent the sample project to Microsoft support, they feedback that BO.List_Changed event is not released. You can refer back my previous messages. HTH</description><pubDate>Wed, 23 Mar 2011 09:42:21 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29765.aspx</link><description>I did say dispose, but I should have said release a handler.&amp;nbsp; We are trying to determine what they are hanging on to.&amp;nbsp; For the record, we are not going to get into a back and forth with DevExpress with you as the middle-man.&amp;nbsp; We are still evaluating their grid to see if we can do anything that doesn't "break" all other environments.&amp;nbsp; This is what happened the last time we made this accommodation for you.</description><pubDate>Wed, 23 Mar 2011 08:23:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29764.aspx</link><description>Hi&lt;div&gt;May I know when should the GridView to dispose the WBBS's data? I asked DevExpress, with below reply:&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;span&gt;[codesnippet]&lt;/span&gt;The datasource should not be disposed of during the pagelife cycle. The grid might use the datasource object even in the PreRenderevent handler. And if you dispose of the datasource somewhere in the code, thegrid will not be able to use it anymore.[/codesnippet]</description><pubDate>Wed, 23 Mar 2011 06:26:13 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29763.aspx</link><description>Hi&lt;div&gt;Thank you for your efforts.&lt;div&gt;Really need your help!!&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Tue, 22 Mar 2011 21:28:03 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29762.aspx</link><description>We are going to look at it one more time, but like all previous examples that you have shown, the problem only seems to persist with the DevExpress grid.&amp;nbsp; If the same thing is done with an Infragistics grid or the standard web grid, it works perfectly.&amp;nbsp; &lt;br/&gt;&lt;br/&gt;Looking back in our notes, this is the same thing that was mentioned on the previous 2 samples that were sent in.&amp;nbsp; It looks the disposal does not fire through the DevExpress web grid...and ironically, this was due to an issue that you turned in after a point release of DevExpress over a year ago.&lt;br/&gt;&lt;br/&gt;We are not through testing, but these are the current results.</description><pubDate>Tue, 22 Mar 2011 08:30:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29760.aspx</link><description>Hi&lt;div&gt;May I know any update?&lt;div&gt;My customer keep calling us, and they expect this issue to be solved before 25/3/2011.</description><pubDate>Mon, 21 Mar 2011 21:39:43 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29749.aspx</link><description>Hi&lt;div&gt;I totally agree with what you mentioned, "How come only we hit this issue?!!?!?!" Just like last time, only we hit thread-safe issue, transaction issue and etc. At last only found that&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;1. Thread-safe - bug&lt;div&gt;2. Transaction - Only happen if using ad-hoc CRUD for, working fine for SP&lt;div&gt;3. Memory leak (1st reported) - DevExpress and SF integration issue&lt;br/&gt;&lt;br/&gt;&lt;div&gt;My mgmt also asking since so many developers are using SF and DevExpress UI why don't they hit issue as us? I also don't know how to answer.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Anyway, if you think is our environment issue, please post me question, or I can arrange remote access for you. We can do anything for you, we just need solution!!! Memory leak issue has brought our company into very very worst market position at this moment.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Much appreciate for your help</description><pubDate>Thu, 17 Mar 2011 21:30:12 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29746.aspx</link><description>Well, like I said, we have so many people that use XtraReport and DevExpress and don't experience these issues.&amp;nbsp; So there is some underlying design issue or environmental issue that you guys seem to always be up against.&amp;nbsp; But at any rate, we will look at the sample that you post to see if there is something framework related.</description><pubDate>Thu, 17 Mar 2011 08:57:08 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29744.aspx</link><description>Hi&lt;div&gt;I have posted my sample project&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;a href="http://112.137.162.187/Testing DB.rar"&gt;Testing DB&lt;/a&gt;&lt;br/&gt;&lt;div&gt;&lt;a href="http://112.137.162.187/PublicFileData.rar"&gt;Sample project&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I also attached screenshot of ANTS profiler which shown the instances of BO keep increasing for each refresh.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;a href="http://112.137.162.187/Ants Profiler Testing Result.doc"&gt;Screenshot&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Please advice ASAP&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Thu, 17 Mar 2011 04:49:24 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29743.aspx</link><description>BTW, I don't think we have very unique environment as I just use simple BO with XtraReport. Also, for the reporting tool, we never do any custom code to it as well. Just a simple listing. Anyway will upload the sample as soonest.</description><pubDate>Wed, 16 Mar 2011 19:40:25 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29742.aspx</link><description>[quote][b]Trent L. Taylor (3/16/2011)[/b][hr]We will look at your project, Chan.&amp;nbsp; I would be very surprised at this point if there was in fact a memory leak.&amp;nbsp; We have hundreds of customers that use both the XtraReports and the Dev Grid.&amp;nbsp; But there can always be a certain property or environment that causes a particular issue.&amp;nbsp; So we can take a look and go from there.&amp;nbsp; But from the sound of it, you still have not heeded my advice on creating a custom control.&amp;nbsp; This is a bit disappointing, though, because it seems like you have a very unique and custom environment and you are trying to squeeze a 3rd party control to fit you very specific and custom needs which I think is part of your problem.[/quote]&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Hi,&lt;div&gt;My company is really willing to do so, but we lack of experience on this at this moment. Beside, we are busy to solve some other issues before this. That is the reason we would like to have SF team to send us built custom control so that we can use it straight away or at least some reference.</description><pubDate>Wed, 16 Mar 2011 19:35:56 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29734.aspx</link><description>We will look at your project, Chan.&amp;nbsp; I would be very surprised at this point if there was in fact a memory leak.&amp;nbsp; We have hundreds of customers that use both the XtraReports and the Dev Grid.&amp;nbsp; But there can always be a certain property or environment that causes a particular issue.&amp;nbsp; So we can take a look and go from there.&amp;nbsp; But from the sound of it, you still have not heeded my advice on creating a custom control.&amp;nbsp; This is a bit disappointing, though, because it seems like you have a very unique and custom environment and you are trying to squeeze a 3rd party control to fit you very specific and custom needs which I think is part of your problem.</description><pubDate>Wed, 16 Mar 2011 08:38:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29732.aspx</link><description>Hi&lt;div&gt;After so many discussion, we are in the progress to change our application to limit # of records to be retrieve and also added search feature to all listing page.&amp;nbsp;&lt;div&gt;However, now we are facing memory leak issue in DevExpress XtraReport (ASP.NET) also. We are using WBBS to bind our BO to report. It only contains few records. When I keep refresh the report, I see the BO (datasource) instance keep increasing. From ANTS profiler, it is referenced by SharedDataTable therefore unable to be released.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;My developer is in the progress to prepare sample project.</description><pubDate>Tue, 15 Mar 2011 21:55:48 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29332.aspx</link><description>I thought that I close out this post as email was used to work through this process.&amp;nbsp; &lt;br/&gt;&lt;br/&gt;There were a lot of posts here and so it is just a matter of time before people look back here for a solution.&amp;nbsp; In short, we have gone through this thoroughly and sufficiently proven that StrataFrame doesn't have a memory leak.&amp;nbsp; There was, however, a valid issue that this customer was dealing with in regards to a memory leak and a DevExpress grid.&amp;nbsp; Below are two memory profiles, one with a DevExpress grid and another with a standard GridView:&lt;br/&gt;&lt;br/&gt;&lt;span style="font-weight: bold;"&gt;DevExpress Web Grid Memory&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Profile&lt;/span&gt; &lt;br/&gt;&lt;img src="http://forum.strataframe.net/Uploads/Images/2c06d1b4-7887-451e-b52a-78db.png" alt="http://forum.strataframe.net/Uploads/Images/2c06d1b4-7887-451e-b52a-78db.png"&gt;&lt;br/&gt;&lt;font size="1"&gt;&lt;span style="font-style: italic;"&gt;(Download the attachment for a better look)&lt;/span&gt;&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;The DevExpress web grid does have many objects still in memory as part of this process.&amp;nbsp; In most cases, this would probably not cause an issue as the "leak" was negligible.&amp;nbsp; But if you are retrieving a very large data set and dealing with many records, then this could be an issue.&amp;nbsp; Also, the more records that are in the data set, the DevExpress.Web.ASPxClasses (Display Classes) that will be created, thus increasing memory size.&amp;nbsp; This not not a fault of DevExpress, but more of an attribute to the complexity and functionality of their control.&lt;br/&gt;&lt;br/&gt;&lt;span style="font-weight: bold;"&gt;GridView&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Memory Profile&lt;/span&gt;&lt;br/&gt;&lt;img src="http://forum.strataframe.net/Uploads/Images/be40a39e-b788-4de8-88d0-2e29.png" alt="http://forum.strataframe.net/Uploads/Images/be40a39e-b788-4de8-88d0-2e29.png"&gt;&lt;br/&gt;&lt;font style="font-style: italic;" size="1"&gt;(Download the attachment for a better look)&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;In this example, the same test was performed.&amp;nbsp; A new property called AutoDisposeHandlersAndObjects was added to the WebBusinessBindingSource that allows the control to clean up automatically.&amp;nbsp; Though this can be used on the GridView and several others that have been tested (i.e. Infragistics), this will not work with the DevExpress Web Grid as the way that they enumerate the underlying data source prevents certain disposals from taking place, though the instance never grew past 1 BBS in our testing.&amp;nbsp; That said, you can see that in the GridView test, there are no BBS references remaining and the environment is much cleaner.&amp;nbsp; This is not a criticism of DevExpress web grid by any means, just an observation, as the GridView doesn't have the "pre-built" logic the DevExpress grid does.&amp;nbsp; But the BBS can be released as part of the process.&lt;br/&gt;&lt;br/&gt;&lt;span style="font-weight: bold;"&gt;Closing&lt;br/&gt;&lt;/span&gt;In closing, we are not saying that there is a bug in the DevExpress Web Grid, just noting some possible issues that you may run into during development.&amp;nbsp; If there were a bug, it would be in ASP.NET most likely anyway.&amp;nbsp; If nothing else, there could be some philosophical differences here in dealing with large data sets within a grid and/or how to enumerate the underlying data source.&amp;nbsp; DevExpress has many great tools and products and we highly recommend them, but like any development cycle, each project should be evaluated to see if a particular control will meet the needs for specific intents and purpose.&amp;nbsp; So this is just to make you aware of any possible issues that may be encountered when using a StrataFrame BBS and a DevExress Web Grid.&lt;span style="font-weight: bold;"&gt;&lt;br/&gt;&lt;/span&gt;</description><pubDate>Mon, 10 Jan 2011 10:30:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29248.aspx</link><description>[quote]may i know no update mean what?haven't test, don't know the root cause yet, don't know solution yet or no plan to fix it?[/quote]&lt;br/&gt;&lt;br/&gt;None of the alternatives. It just means I haven't been updated on it.&lt;br/&gt;&lt;br/&gt;[quote]My customers just can't keep waiting endless. We need at least a workaround.[/quote]&lt;br/&gt;&lt;br/&gt;That is understandable, but I need to remind you, as I have done&amp;nbsp;before, that this has been considered an ASP.NET issue by your other third party grid&amp;nbsp;vendor, which even openly stated that it wouldn't fix it, and what our developing team will try is to find you a workaround,&amp;nbsp;if possible. All I know is that it is on their list.&lt;br/&gt;&lt;br/&gt;[quote]This issue has been reported for more than a month, hope SF team understand our difficulty as well.[/quote]&lt;br/&gt;&lt;br/&gt;Yep, we all do and appreciate your business, and will try to help you&amp;nbsp;as soon as possible, I am sure about it.&lt;br/&gt;&lt;br/&gt;Cheers.</description><pubDate>Wed, 22 Dec 2010 12:15:24 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29243.aspx</link><description>hi&lt;div&gt;any timeline?&lt;div&gt;may i know no update mean what?&lt;div&gt;haven't test, don't know the root cause yet, don't know solution yet or no plan to fix it?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;My customers just can't keep waiting endless. We need at least a workaround.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;This issue has been reported for more than a month, hope SF team understand our difficulty as well.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Wed, 22 Dec 2010 10:07:24 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Memory leak SF BO with DevExpress ASPxDataGridView</title><link>http://forum.strataframe.net/FindPost29236.aspx</link><description>No Chan, not yet. </description><pubDate>Wed, 22 Dec 2010 04:27:03 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>