title: java.lang.OutOfMemoryError: Java heap space in DBeaver
body: <p>I have a <code>.sql</code> file with size <code>1047399KB</code>,I'm trying to run it on Windows10 with <code>4.00GB</code> RAM on DBeaver program, i got <code>java.lang.OutOfMemoryError: Java heap space</code> error</p>
  
  <p>I tried many solutions but didn't work with me.
  <code>file.sql -Xms128m -Xmx512m</code>, <code>file.sql -vmargs -Xmx1024M</code>, <code>file.sql -Xmx800m -Xms500m</code> all didn't work with me.</p>