elderbig
elderbig
Use add_task,it is run fast more.like this: ```rust let s = "echo 1".into(); delay_timer.add_task(build_task_async_execute_process(i,&s)?)?; ```
but I ment another problem,when I run 100 task,every task run 1 time in 1 second,when it run,the memory rise step by step, after about 2 hours,it rise from 8M...
Thanks for your response,this is my code: ```rust #[async_std::main] async fn main() -> Result{ log4rs::init_file("conf/log4rs.yaml", Default::default()).unwrap(); info!("begin"); let delay_timer = DelayTimerBuilder::default().build(); for i in 0..1000{ delay_timer.add_task(build_task_async_execute_process(i)?)?; info!("init task id =...
I test this version(0.10.0),the problem is reduced,in 2 hours test with 1000 jobs,memory used by my progress rise up from 8M to 319M,it seems come better,but memory is still rise...
I test once more, in **5.8 hours**,memory rise up to **650M**, it seems memory rise up always when program running,bu increase become slowly by slowly,and cpu used in my 12cores...
Thank for your reply.In my submission in fact, this crate is good enough. but might be possible there is some memory leak? I am beginner in rust and not able...
I monit process with script ```bash #please run this monit script in tester dir pid=`ps -ef|grep dt_test|grep -v grep|awk '{print $2}'` #clean last test result >mem.log while true;do t=`date "+%Y-%m-%d...
> Thank you for the monitoring script, it looks very subtle. > > May I ask, did you compile the program using `debug` mode? > > If it is convenient,...
thx,I will try write my application with the crate,at the same time,I do not use too many jobs,and cut down frequence,I think it wil be well,and I will test as...
Both debug and release can meet this error report, I did not find this report may be because I did not init log system that time,I think. this is the...