Linux Build 136: Optimize-Task1.xml not found

Durong WFM Optimization, it cannot save settings. I get error Optimize-Task1.xml not found.
Attachments
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

m
#1

murty

03.02.2023 17:21

Task created

m
#2

murty

03.02.2023 17:22
Voted for this task.
E
#3

Emmanuel

03.02.2023 20:03
Voted for this task.
TT
#4

Tamas

06.02.2023 12:26

Status changed from New to Waiting for information

Attachment image-0.png added

image-0.png
(552.67 KiB)
Hello, I am not able to reproduce the issue. Please provide step by step to reproduce it.
m
#5

murty

07.02.2023 06:04


11:09:19.812 [qtp701526215-439] ERROR c.s.w.servlet.HttpJSONServlet - Cannot update settings of task file Optimize-Task1.xml (project: Optimizer)<br>Cannot update task while project is running java.lang.Exception: Cannot update task while project is running at com.strategyquant.tradinglib.project.SQProject.checkProjectStatus(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.plugin.Servlet.impl.Project.ProjectServlet.onUpdateTaskXML(Unknown Source) ~[na:na] at com.strategyquant.plugin.Servlet.impl.Project.ProjectServlet.execute(Unknown Source) ~[na:na] at com.strategyquant.webguilib.servlet.HttpJSONServlet.doGet(Unknown Source) ~[SQWebGUILib.jar:na] at com.strategyquant.webguilib.servlet.AbstractServlet.doPost(Unknown Source) ~[SQWebGUILib.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[jetty-all-uber.jar:9.4.19.v20190610] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:876) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1711) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1347) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1678) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1249) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.Server.handle(Server.java:505) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:781) ~[jetty-all-uber.jar:9.4.19.v20190610] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:917) ~[jetty-all-uber.jar:9.4.19.v20190610] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] 11:09:19.968 [AWT-EventQueue-0] ERROR c.strategyquant.webguilib.BrowserGUI - JS ERROR: http://localhost:8080/common/Batch1/libs.js:104364: Cannot update settings of task file Optimize-Task1.xml (project: Optimizer)<br>Cannot update task while project is running



m
#6

murty

07.02.2023 06:10
I encountered this error while running WFM for a strategy. I can't reproduce it now. I suspect its related to memory utilization. So, I set Max Memory setting to 7G, rather than letting SQ decide it
TT
#7

Tamas

08.02.2023 08:06
Hello, ok I understand. Can you attach the project config ? Did you run optimization using Optimization tab or in Custom project ?
m
#8

murty

11.02.2023 06:46

Attachment XAUUSD_H1_910122122.sqx added

XAUUSD_H1_910122122.sqx
(90.81 KiB)

I ran Walk Forward Matrix optimization for the attached Strategy, after applying the strategy configuration settings from Retester tab to Optimizer.


MT4 Engine, XAUUSD, H1, 2003.05.05 till 2023.01.26, Selected Timeframe only, Spread 60pips, Slippage 1pips, No comm, Min distance: 0

Exit on Friday at 21:00

Money Mgmt: Fixed 0.1


WF type: Sim IS, Sim OOS

Out of Sample: 10-50-10

WF runs: 5-30-5

Recommended Parameters

Max optimzations: 10000

Parameter settings: Automatic, 30% up/down, 10 steps


m
#9

murty

11.02.2023 06:47

I use j64 from GraalVM. I have not encountered this error after appending the following line to StrategyQuantX_nocheck.config


option -Xmx8g


Update: This issue disappeared after updating to latest GraalVM 22.3.1 for Java 19.0.2, and updating the Java in my Linux Operating System to openjdk version "19.0.2" 2023-01-17

TT
#10

Tamas

03.03.2023 09:59

Status changed from Waiting for information to Fixed

Thank you for the information. Maybe some jvm/memory problem

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please