http://bugs.winehq.org/show_bug.cgi?id=30294
--- Comment #2 from Aric Stewart aric@codeweavers.com 2012-03-30 09:57:13 CDT --- (In reply to comment #1)
austin@aw25 ~/wine-rt $ git bisect bad 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf is the first bad commit commit 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf Author: Aric Stewart aric@codeweavers.com Date: Fri Oct 21 11:29:05 2011 -0500
user32: Use Uniscribe in the multiline edit control.
:040000 040000 3cade3e51f7827bcb33e2ffb29d813b1b281eee3 36d7773ef67ae9d2a462fc856024bebed3a15aaa M dlls
Not too surprisingly. The failure involves E_OUTOFMEMORY.
The edit control is presently loading every line in the control and we are running out of memory (not to mention being slow) on really huge files.
It will take a bit of work to redesign it to properly only work with lines that are visible on the screen.
I am presuming that this is not a new problem with the above commit it is just that using uniscribe results in more memory allocated per line so we are running out of memory sooner than we would before. Thus this bug manifests on shorter files.