Editor in Database Reader goes blank when query is too large

Query is about 300 lines long, editing window shows on first entry after opening KNIME, blanks out entirely at second entry. Eliminate a few lines and the window does not blank out entirely, just shrinks. Eliminate a few more lines and the window returns to normal. Increased memory from 4GB to 6GB, no change in behavior.

good
not so good
54%20PM the culprit

Welcome to KNIME 3.7.1
-startup
…/Eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
–launcher.library
…/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.551.v20171108-1834
-vm
…/Eclipse/plugins/org.knime.binary.jre.macosx.x86_64_1.8.0.152-02/jre/Home/lib/jli/libjli.dylib
-vmargs
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx4096m
-XstartOnFirstThread
-Xdock:icon=…/Resources/Knime.icns
-Dorg.eclipse.swt.internal.carbon.smallFonts

System Version:OS X 10.11.6 (15G21013)
Kernel Version:Darwin 15.6.0
Model Name:MacBook Pro
Model Identifier:MacBookPro11,5
Processor Name:Intel Core i7
Processor Speed:2.8 GHz
Number of Processors:1
Total Number of Cores:4
L2 Cache (per Core):256 KB
L3 Cache:6 MB
Memory:16 GB

this is the good one