After doing a lot of re-search and investigation, I found the solution of this problem in Windows.
To increase heap size for sqlworkbench/J, you have to open your "sqlworkbench.jar" file with the help of PowerShell or CMD.
Steps are mentioned below:
1.) Navigate to the directory containing all files and folder related to this software.I have placed my files in this location. "C:\Users\raushkum\Documents\downloads\Workbench-Build124"
2.) Hold shift and right click anywhere in white space area. A popup will appear with option available "open PowerShell window here". You do either way also- open PowerShell and navigate to the directory containing all files and folder for Sqlworkbench/J software.
3.) After successful navigation to directory just execute following command in PowerShell.
Command: java -Xmx4g -jar sqlworkbench.jar
# Here 4g is the memory i am going to assign to workbench/J. You can change it to 5g,6g,7g etc. as per you requirement.
You can verify your allocated memory size at that time using this way.
1.) Open sqlworkbench/J > click on help > About
You can see in this picture
Drawback: Every time, you have to open like this then only desired memory will be assigned to software. As soon as you close this it'll roll back to default allocation of memory.
Bonus info:
You can find all settings,cache,log etc. info in this location:
1.) C:\Users\"user name"\.sqlworkbench
If did not get, try this:
1.) Open sqlworkbench/J > click on help > About
2.) You can see the setting file and log file location.
Info.plist
to change that. – LollipopInfo.plist
: groups.google.com/d/msg/sql-workbench/-Nin-djWv8c/eegNhFzKCAAJ – Lollipop