Increasing the memory allocation for TWS and help improve performance problems with TWS. We recommend setting the allocation to at least 2048 MB.
This can be changed from the Edit > Global Configuration menu item
Then the Configuration > General tab as seen in the screenshot below.