v5.0 fix for freezes in very large flowcharts

Moderator: Benj

Post Reply
User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

v5.0 fix for freezes in very large flowcharts

Post by JonnyW »

If you are experiencing freezes with very large flowcharts, either on loading or when 'undo/redo' is pressed, this could help fix the problem.

You can tell if this problem effects you as in the task manager you can select to show the number of GDI handles for a task. If the number for Flowcode is over 5,000, most likely this will crash on 'undo'. If you have a very large flowchart and this value goes over 10,000, your program will not run in v5.0. The fix increases this 10,000 limit to 50,000 - this will affect the memory usage of your PC.
big_flowchart.png
GDI handles
(70.98 KiB) Downloaded 1537 times
The following file contains two .reg files. large_flowchart_fix.reg will (hopefully) fix the problem, and large_flowchart_restore.reg will restore the default reg settings (when they are no longer required). With any registry action, you change the registry at your own risk. After the files are run, your PC will require a reboot.

The only key that is changed is the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsGDIProcessHandleQuota

The files can be found here.
fix_and_restore.rar
File to increase the number of GDI handles
(447 Bytes) Downloaded 265 times
This issue will be fixed in the next release (v5.1).

I hope this is of use,

Jonny

Post Reply