"Out of Memory" + "Black Screen" Issues with Datafeed Toolbox (no stop market data recording)

4 visualizaciones (últimos 30 días)
------------------------------------------------------------------------------
### SHORT VERSION: ###
------------------------------------------------------------------------------
How can I solve the "Out of Memory" and "Black Screen" (distinct) Issues with the Datafeed Toolbox (DTN IQFeed functions) in case I'm recording no stop market data on CSV files and MATLAB memory stands at ~580MB (on task manager) with ~85-90% of CPU consumed?
------------------------------------------------------------------------------
### LONG VERSION + ATTEMPTED SOLUTION: ###
------------------------------------------------------------------------------
I'm having 2 memory/cpu related issues with MATLAB R2015a 64bit and the Datafeed Toolbox by using the DTN IQFeed functions ( http://www.mathworks.com/help/datafeed/iqfeed.html ), running on a Windows 8.1 with 8GB of memory.
I've modified the "realtime" ( http://www.mathworks.com/help/datafeed/iqf.realtime.html ) and "marketdepth" ( http://www.mathworks.com/help/datafeed/iqf.marketdepth.html ) functions to record real-time and market-depth financial data in 2 CSV files.
I'm running it no stop to record tick data on the E-mini Futures NASDAQ-100 (traded at CME Globex) which trades almost 24h for 5days a week.
Issues: 1) After 1.5 days of data recording I've had an "Out of Memory" problem with MATLAB so I've closed and restarted it, and (as suggested at https://www.researchgate.net/post/How_to_increase_MATLABs_memory ) I've given a "real time" priority to Matlab.exe task. I've also checked the current process limit of MATLAB by using the "memory" function ( http://www.mathworks.com/help/matlab/matlab_prog/resolving-out-of-memory-errors.html ) before and after giving the higher priority and I've seen an increase in the "Memory available for all arrays" (shown by the "memory" function) to a total of ~6GB.
2) After less than a day from applying the above solution to the 1st issue I've had the 2nd issue: MATLAB window screen turned completely black so I cannot execute any command BUT it's not completely frozen because I can see the CSV files being updated. In particular, in the Windows task manager, the memory consumed by MATLAB stands to ~580MB (it oscillates but seems stable) while it occupies ~85-90% of the CPU.
Any idea of how to solve the above 2 issues would be very much appreciated.

Respuestas (0)

Categorías

Más información sobre Package and Share Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by