ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
BTW, I have watched the video that you posted. May I know what exe are looking tracing? I am assuming you are looking at iexplorer.exe as it is highlighted. However, memory leak is happens to IIS (w3wp) or ASP.NET web server (WebDev.WebServer) but not web browser. Somemore, I didn't see IIS / ASP.NET WebServer exe appear in task manager in the video as well
Please advice.
Thank you
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
Thank you for explanation.
In my sample, I also attached SF dll which I used. You might try to reverse engineer to see if it is the latest, as I don't know what SF team changed for memory leak problem. Therefore, I can't check on behalf.
Beside, if you check my video, it is really eat up some number of MB after every "cleanup". In order not to keep back and forth for this issue again, I will try have last try using the latest build posted 2 days ago. However, I would request SF team to troubleshoot via our machine or our whole application if this build still not solve my problem. It could be our mistake as you suspect I am not using the latest one. Therefore, the best approach is SF team to check for us. My company is willing to pay for it, as we already improved quite number of $$$ and time to this tool. As we only want the issue solved so that we can deliver.
Please consider my suggestion, we are looking for any good news.
Thank you
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
First, let me apologize for the length of time in getting back to you. Recently, we have seemed to go back and forth quit a bit with you in this area so I wanted to make sure that we did a thorough test to ensure that there is no memory leak. In short, we have proven using your very sample that there is no memory leak. I know that we had given you a build recently with a fix for a memory leak. However, we wanted to ensure that we did not have anout round of going back and forth on this so we put the sample you sent us (as well as some of our own) to the test. At no time during these tests did we see any form of a memory leak. This includes the sample that you sent to us. If you review the attached video, you will see that the memory never increased but at one point does in fact go back down. We performed more robust tests that this video shows and setup scenarios where large numbers of postbacks and refreshes were called. We consistenly saw the memory actually clean up and reduce. At this point I am uncertain what to tell you other than I do not believe that you are using a build that resolves this issue. We posted a new build in the last day or so that it may serve you well to install to make sure that you did not run on the incorrect assembly. I know that this has been an issue in the past. I hope that this at the very least gives you some direction. Thanks.
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
May I know any status?
Thank you
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
I have created sample project, which is exactly the same as previous one. It only contains 1 BO and DevExpress GridView. I keep reload the page and below is the log of memory taken by each drop
First Load - 52564
First Memory Drop - 55316
Second Memory Drop - 56260
Third Memory Drop - 56284
Fourth Memory Drop - 56400
Fiveth Memory Drop - 57268
and etc
I recorded video. Please download it from
http://www.visualsolutions.com.my/blog/chankk/memory.zip
I also recorded using performance monitor which as attached. During performance monitoring, I found that, the memory will keep increasing, drop, stay at same level for a while, then will increase again for some time (this jump will be almost back to previous before drop level and more), then drop again (but is higher that previous drop), stay for a while and increase again.
The sample project is very simple, therefore the memory leak is not that serious. If I run my web app, it easily eat up few hundred MB.
Sample Project: http://www.visualsolutions.com.my/blog/chankk/WebApplication12.zip
Please advice. Thank you
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Does 1.6.6.9 include the memory leak fix as well? Yes. As for the file size, I am unsure why it was smaller other than I might have sent you just that one file in debug mode. But your assessment is correct.
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
OK, I will prepare sample for it.
However, I would like to double clarify with you, the MicroFour StrataFrame Business.dll shipped with latest Setup (fix thread safe issue) is version 1.6.6.9 and file size 781KB? Because the hot fix that you sent me last time (fix memory leak) is 1.6.6.8 with file size 801KB. I was thinking you 1.6.6.8 might contains debug info therefore is larger.
Does 1.6.6.9 include the memory leak fix as well?
Please advice.
Thank you
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Chan, The screen shot you provided doesn't do me any good. We have taken the sample that you have provided and NOT had the same results. You already know that if we are to help you we are going to need some form of reproduction otherwise there is nothing we can do for you. Please provide a sample that reproduces the issue. I would strongly suggest that you make sure that you have the most recent build and assemblies loaded that I sent to you the other day. I never posted the source online, so if you recompiled the source, then you are not running the most recent build. This has happened to you in the past where you accidentally had the wrong version of the assemblies in your environment. Using the most recent StrataFrame assemblies, we are not experiencing this using a WBBS and a grid. However, I will not say that the possibility of what you are experiencing doesn't exist...but without a sample that we can reproduce on our side, there is very little I can do in this type of circumstance.
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
After some more testing, I still found "memory leak". When I doing data entry/refresh/Callback the page (few times), the memory will be increasing and reach about 100-120MB. Then, it will drop about 80-90MB and increasing again. And we can see that, for every "drop", that is about 20-30MB is not clearly cleaned. Once it run for certain period (about 40 records entered), w3wp.exe will eat up 700MB (based on machine) and OutOfMemoryException occurred.
I use dottrace to snapshot memory and found that are at least 300MB garbage object in memory, System.String[], DataTime[], Datetime, DataRow, RBTree.Node[], String and etc.
May I know what cause this problem? Is it caused by DataBinding or...? How could I prevent this?
I have attached the screenshot. Please advice. Urgent!
|
|
|
ChanKK
|
|
Group: Forum Members
Posts: 190,
Visits: 1.3K
|
Hi,
I tested it and it fixed the problem. I will release it to our QC for further testing, will update you if any news. Thank you for your help on this. You safe my life!
Thank you
|
|
|