UI Crashes

Hi , if application is running so long, UI crash and show Chromium error or stop reactions.



23:05:12.662 [qtp1907228381-206] WARN  c.s.datalib.TimeframeManager - Custom timeframes file doesn't exist.
23:05:39.541 [qtp1907228381-204] INFO  c.s.webguilib.license.LicenseDialog - Disposing license dialog browser...
23:05:49.807 [qtp1907228381-204] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/5_1 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.303 [qtp1907228381-202] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/Results is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.320 [qtp1907228381-204] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/TMP is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.331 [qtp1907228381-202] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/WIN is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.333 [qtp1907228381-204] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/2 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.346 [qtp1907228381-200] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/3 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.356 [qtp1907228381-247] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/4 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.607 [qtp1907228381-200] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/0 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.625 [qtp1907228381-202] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/6_1 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.639 [qtp1907228381-200] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/7_1 is overwhelmed, old updates were not processed yet and new updates are coming
23:05:50.641 [qtp1907228381-202] ERROR c.s.p.S.impl.Project.ProjectServlet - UI error: DatabankCtrl for Retester/8_1 is overwhelmed, old updates were not processed yet and new updates are coming
23:08:15.596 [Thread-229] ERROR c.s.p.L.impl.SQ4.SQ4LoaderPlugin - Cannot read strategy file - it is locked for another broker. Reason: 
net.lingala.zip4j.exception.ZipException: zip headers not found. probably not a zip file
at net.lingala.zip4j.core.HeaderReader.readEndOfCentralDirectoryRecord(HeaderReader.java:122) ~[zip4j.jar:na]
at net.lingala.zip4j.core.HeaderReader.readAllHeaders(HeaderReader.java:78) ~[zip4j.jar:na]
at net.lingala.zip4j.core.ZipFile.readZipInfo(ZipFile.java:425) ~[zip4j.jar:na]
at net.lingala.zip4j.core.ZipFile.isEncrypted(ZipFile.java:722) ~[zip4j.jar:na]
at com.strategyquant.plugin.Loader.impl.SQ4.SQ4LoaderPlugin.loadSQ4File(Unknown Source) ~[na:na]
at com.strategyquant.plugin.Loader.impl.SQ4.SQ4LoaderPlugin.load(Unknown Source) ~[na:na]
at com.strategyquant.tradinglib.results.file.FileHandler.preloadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.call(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Databank$1.run(Unknown Source) ~[SQTradingLib.jar:na]
23:08:15.610 [Thread-229] ERROR FileHandler - Error loading file C:\StrategyQuantX_Index\user\projects\Retester\databanks\TMP\Strategy 3.15.182(2).sqx
java.lang.Exception: Cannot read strategy file - it is locked for another broker
at com.strategyquant.plugin.Loader.impl.SQ4.SQ4LoaderPlugin.loadSQ4File(Unknown Source) ~[na:na]
at com.strategyquant.plugin.Loader.impl.SQ4.SQ4LoaderPlugin.load(Unknown Source) ~[na:na]
at com.strategyquant.tradinglib.results.file.FileHandler.preloadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.call(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Databank$1.run(Unknown Source) ~[SQTradingLib.jar:na]
23:08:15.614 [Thread-229] INFO  FileHandler - java.lang.Throwable
at com.strategyquant.lib.SQUtils.getStackTrace(Unknown Source)
at com.strategyquant.tradinglib.results.file.FileHandler.preloadFile(Unknown Source)
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source)
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source)
at com.strategyquant.tradinglib.results.file.FileHandler.call(Unknown Source)
at com.strategyquant.tradinglib.Databank$1.run(Unknown Source)


23:08:15.615 [Thread-229] ERROR c.strategyquant.tradinglib.Databank - Loading ResultsGroup failed.
java.lang.Exception: Cannot read strategy file - it is locked for another broker
at com.strategyquant.tradinglib.results.file.FileHandler.finishLoad(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.loadFile(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.file.FileHandler.call(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Databank$1.run(Unknown Source) ~[SQTradingLib.jar:na]
23:08:15.615 [Thread-229] ERROR c.s.tradinglib.project.Databanks - Loading strategies to databank 'TMP' failed - Cannot load results from file 'Strategy 3.15.182(2).sqx'. Cannot read strategy file - it is locked for another broker
23:08:15.615 [Thread-229] INFO  c.s.t.project.ProgressEngine - Loading strategies to databank 'TMP' failed - Cannot load results from file 'Strategy 3.15.182(2).sqx'. Cannot read strategy file - it is locked for another broker
23:41:37.292 [Thread-238] ERROR c.s.tradinglib.project.Databanks - Loading strategies to databank '8_1' failed - Java heap space
23:42:21.193 [qtp1907228381-202] WARN  o.e.j.util.thread.QueuedThreadPool - 
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1896) ~[na:na]
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2114) ~[na:na]
at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) ~[jetty-all-uber.jar:9.4.19.v20190610]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.idleJobPoll(QueuedThreadPool.java:850) ~[jetty-all-uber.jar:9.4.19.v20190610]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:889) ~[jetty-all-uber.jar:9.4.19.v20190610]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
23:42:41.894 [Thread-238] INFO  c.s.t.project.ProgressEngine - Loading strategies to databank '8_1' failed - Java heap space
23:52:20.924 [Thread-201] ERROR c.s.tradinglib.project.Databanks - Loading strategies to databank 'Results' failed - Java heap space
23:52:44.828 [Thread-201] INFO  c.s.t.project.ProgressEngine - Loading strategies to databank 'Results' failed - Java heap space

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

ZD
#1

ZdenekDrizga

24.07.2020 13:08

Task created

MF
#2

Mark Fric

28.07.2020 09:15

Status changed from New to Refused

erro rlog indicates that Java used all available memory. It seems you have a big number of strategies in your databank. Either decrease the number of strategies or allocate more memory for Java in SQ configuration (icon on top right)
ZD
#3

ZdenekDrizga

28.07.2020 11:59
I have set a limit for memory to 7 GB, application is taking more then 7,5 GB. I have expected thetr your app control using of memory itselfs. Would be posible to have some regural warning or stop process instead of crash?

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please