You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugMalfunctions that should be fixed to comply with the expected behaviorfixedIssues that have been fixed and can be closed alreadyprio-mediumBehaving incorrectly, but still somewhat usable
I met a strange problem when I used RIDE to call a .exe program by Process library.And the program output some logs,then I used the Log output the infos to the console of RIDE.My case is as follows:
·${dailyJob} RYP2P.Schedule.exe jobkey:dailydatajob runParams:startdate=2017-1-01$runmode=test$userid=-1 autoclose:true
·
RunDailyJob
[Documentation] test Job
OperateConfigInfo update ry_modulesign set Online=1;
Log Many ensure my Job offline
${result} Run Process ${dailyJob} shell=true cwd=RyP2P.Schedule stdout=${CURDIR}/stdout.txt
Log ${result.stdout}
The .exe program will execute a very complicated business logic.For example,it will loop through a year,the step length is one day.In every day,the program
will outputs a words like 'today is ${today}'。Therefore,the progarm will outputs lots of content finally.In my program,the problem is that the case cannot stop.
If you write the log to the file in the program,you will find the loop will pause in some stage such as the very day of half year.However,when you click the stop button
of RIDE,the loop will continue running to the end of the program.If I comment the Log ${result.stdout},the case will end quickly.I guess that if RIDE has a limit over
the console size or it is a bug of RIDE?
@HelioGuilherme66 You can use the test in this suite to reproduce the issue. It should crash after 300 iterations or so. MessageLog.txt
To sum it up, we need trim lines that go over a certain size and also maybe periodically clear memory log and console if number of lines/chars reach a certain size.
bugMalfunctions that should be fixed to comply with the expected behaviorfixedIssues that have been fixed and can be closed alreadyprio-mediumBehaving incorrectly, but still somewhat usable
Activity
Casalis commentedon Mar 17, 2017
Have you still got this problem?
How many lines does the ".exe" return for each day?
Is the Log file longer that the RIDE console log?
HelioGuilherme66 commentedon Dec 1, 2019
Closing because is too old and we cannot reproduce, or lack of information.
Nyral commentedon Dec 1, 2019
@HelioGuilherme66 You can use the test in this suite to reproduce the issue. It should crash after 300 iterations or so.
MessageLog.txt
To sum it up, we need trim lines that go over a certain size and also maybe periodically clear memory log and console if number of lines/chars reach a certain size.
HelioGuilherme66 commentedon Dec 2, 2019
@Nyral With your example, I cannot reproduce (today's development version):

HelioGuilherme66 commentedon May 8, 2022
This is fixed by stopping the log when a memory limit is reached. The following message is shown in the log: