Bug #59706 Memory leak and slow performance
Submitted: 25 Jan 2011 7:25 Modified: 7 Feb 2013 20:27
Reporter: A H Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.3.21 CE build 7115 OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any
Tags: memory leak, workbench, XP

[25 Jan 2011 7:25] A H
System slows down after a couple of minutes designing the model. Workbench consumes over a GB of memory.

How to repeat:
Open Home, SQL editor and MySQL model.
14 tables, 1 trigger, 14 FK, 11 views and 4 stored procedures.

Editing a stored procedure slows down (a shows slowing down) the system.

Also running: 
Zend Server Community Edition 5.0.4 (Apache HTTPD 2.2.16 (SSL) OpenSSL 0.9.8o)
Eclipse Helios
[1 Feb 2011 16:43] Johannes Taxacher
Do you also see WB eating up CPU/processing power or is it only memory thats going through the roof?
Does this happen on a specific model or on any model you have tried? (could you attach a demo model)
can you add the output of your workbench's help->System info?
thanks in advance.
[1 Feb 2011 21:51] A H
Model which used when performance dropped

Attachment: zzi.mwb (application/x-zip-compressed, text), 28.91 KiB.

[2 Feb 2011 12:39] MySQL Verification Team
Thank you for the bug report. Each action of Edit table increases the memory usage, closing the model and opening another model don't release the allocated memory. Verified on Vista and using the task manager to look the memory usage.
[2 Feb 2011 14:13] Johannes Taxacher
even though the undo-list does take up memory (therefore the memory usage increase when editing) it should at least go back down on close of a document - we need to investigate that.
[7 Feb 2013 20:27] Armando Lopez Valencia
No reproducible in the latest WB Version
Verified in:
Ubuntu 12.04x64
WB 5.2.46 rev.10385