Bug #57270 | MySQL Workbench has bad memory leak during model diagram manipulations | ||
---|---|---|---|
Submitted: | 6 Oct 2010 5:38 | Modified: | 25 Mar 2013 15:36 |
Reporter: | Karl Nicoletti | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.28 CE Rev. 6722 | OS: | Windows (Windows XP Pro SP 3) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | diagram, memory leak, model, performance degradation |
[6 Oct 2010 5:38]
Karl Nicoletti
[6 Oct 2010 5:55]
Karl Nicoletti
Just noticed that memory leaks are fairly small in the beginning. If modify a table, like add a column, then the rate of leakage begins to accelerate.
[6 Oct 2010 11:59]
MySQL Verification Team
Thank you for the bug report.
[7 Oct 2010 18:19]
Karl Nicoletti
I accidently discovered that all memory is RELEASED when MINIMIZING the MWB window! When the window is reactivated the memory stays small until more operations are completed. Example: Operation Mem Usage ------------------- --------- Open model 111,848K Minimize MWB window 2,316K Activate MWB window 18,016K Click on a table 33,292K Open table editor 51,096K Minimize MWB window 2,144K Activate MWB window 23,324K
[7 Sep 2011 19:24]
David Berg
I replicated Karl's observations, also using a very large model (133 tables + 75 views), with Version 5.2.34 CE (Rev 7780). It seems that moving objects around in the model window causes the greatest increase in unreleased memory usage. As Karl observed, I also gain relief by minimizing the application and reactivating it.
[7 Sep 2011 22:28]
Karl Nicoletti
Hope someone can figure this one out. It's a real drag to have to shutdown and restart WB every few minutes or so when working on a big model.
[11 Sep 2011 21:56]
David Berg
A caveat on my comment of September 07 ... ... minimizing WB releases memory it holds, but it /does not/ free the Page File Commit Charge. Memory pages are still held in the Page File and recalled when needed. The page file will continue to grow until it asymptotically approaches its maximum, at which time WB will crash. The only way to free those memory pages is to close WB and restart it. I respectfully suggest the severity of this bug be escalated to S2 (Serious)
[7 Feb 2013 21:21]
Armando Lopez Valencia
No reproducible in the latest WB Version Verified in: Ubuntu 12.04x64 Windows7x64 WB 5.2.46 rev.10385
[23 Mar 2013 0:08]
Karl Nicoletti
This appears to be fixed in 5.2.46 SE Revision 10385.
[25 Mar 2013 15:36]
Karl Nicoletti
Looks like this is fixed for modeling in MWB 5.2.46 SE. However here is still a memory leak in the MWB 5.2.46 SE "DBDoc - Model Reporting." See BugID# 68755. Don't know if I'm the one who is supposed to close this bug but I will do so with this posting.