Quote from pfranz:
My IB gateway takes around 20Mb of central memory and 80Mb of virtual memory with 12 securities data flowing.
I have Win2000 with java 1.5.0.22 and I use Xmx96 in the start line.
Even if hardware is cheap, Swing is a source of subtle errors, like the API page which doesn't open because open command is in another thread (I've seen it in a thread here at Elitetrader). Simple is better: the only things that never raise problems are the absent ones
The pool might keep it from ever using more memory, but the pool might get full and crash the app...Quote from Stock:
I'm curious to find out what the memory usage is after it has been running 24/7 for a week or more... if it can last that long.The pool might keep it from ever using more memory, but the pool might get full and crash the app...
Quote from kiwi_trader:
Just tried it out with Sierra Chart.
For anyone who missed how you use it/run it.
Download and install TWS 904
In the Interactive Brokers menu in you'll find both TWS and the new IB Gateway.
Click the second one.
Run just like TWS, changing the API socket to 7496 if you want to directly sub for TWS.
I initially opened it, connected Sierra Chart, placed and entry order, it filled, moved my target in and took a quick profit. A bit uncomfortable that I couldn't check for IB's view of the world.
So I turned on detailed logging. And didn't see much ... because I use the dark background and the logging doesn't show. Reopened Gateway with the traditional colours and all was well.
Looks good.
Now have IB view confirmation (and might just learn to read ib log files.
Opened another Sierra instance and it forms a second tab for the next instance. All very nice. All works.
Uses under half the memory of standard TWS.
So, Congratulations IB. There have been a lot of requests for a thin TWS over the last couple of years. And a lot of requests to drop the 24 hour auto-logoff. And it seems you've heard us.
Thanks very much.
Quote from Stock:
You can not go by what the GNOME task manager says as that's just the resident size, not the actual size.
Use 'top' or 'ps' to get the full values:
Code:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20594 Stock 20 0 940m 207m 15m S 1 2.6 0:05.44 java
That's 940MB (this includes the libraries and such that are loaded). The resident value changes depending on which applications need memory at the current time and does not represent the complete size.
Of course all of this is up for some controversy because shared libraries are counted in the virtual size and could in theory be used by multiple applications. Still, that's a lot of memory.
Quote from rolando87:
I'm quite new at this stuff, i keep seeing costs associated with this gateway feature.
<b>Is there a cost to having this lightweight program? </B>
Becuase my charting software needs TWS running to stream the data, but TWS keeps crashing my computer.
I'm hoping this is the solution to this problem.
THanks
Quote from kiwi_trader:
TWS really shouldn't crash your computer and would prompt me to:
- make sure I had the latest java (-20)
- check all my display drivers were current.