Bug #1009

Memory management problem in define.

Added by Kristofer B. over 4 years ago. Updated over 4 years ago.

Status:CompletedStart date:03/22/2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:UBot Studio Stealth 5.9 Revision 19
UBot Version:5.9.17 Browser:Chrome 21
UBot Studio Edition:5.9.17

Description

Many reports from my clients with system out of memory exception lead me after many tests to the following problem.
The memory keeps going up in a very simple script and it get cleared only when i press Node View.
In compiled scripts clients can' t press node view and the memory keep going up.

Screenshot_7.png (38.1 KB) Kristofer B., 03/22/2016 06:14 am

Screenshot_8.png (37 KB) Kristofer B., 03/22/2016 06:14 am

Screenshot_9.png (38.5 KB) Kristofer B., 03/22/2016 06:14 am

memory.ubot (915 Bytes) Kristofer B., 03/22/2016 06:14 am

Screenshot_10.png (42.9 KB) Kristofer B., 03/22/2016 06:14 am

memoryOther.ubot (55.2 KB) Kristofer B., 03/22/2016 06:34 am

History

#1 Updated by Kristofer B. over 4 years ago

Another script with memory problem that keep going up

#3 Updated by Miriam MB over 4 years ago

  • Priority changed from Immediate to Normal
  • Target version deleted (UBot Studio Stealth 5.9 Revision 18)

#4 Updated by Kristofer B. over 4 years ago

Just tested with latest version 5.9.18 and problem still exist. Most of my clients bot crash after some hours with system out of memory exception. This bug should be urgent.
Video: http://www.screencast.com/t/MKkazdUO

#5 Updated by Buddy Shearer over 4 years ago

A user posted a support ticket reporting that compiled bots
were experiencing a memory leak and after running the bot
a few times it crashes.

Since the script was not using the browser the memory continues
to grow with each execution. I did add a browser reset
command in an effort to trigger a reset but it has no effect
on the bot if the browser is not being used.

The following code snippet replicates the memory leak.

loop(100000) {
test()
}
reset browser
define test {
}

#6 Updated by Jason Kelley over 4 years ago

Make sure to include the reset browser command inside the loop or the define for it to run.

loop(100000) {
test()
}

reset browser** does not function here

define test {
}

#7 Updated by Jason Kelley over 4 years ago

  • Private changed from No to Yes

http://www.screencast.com/t/8owm060ZL0
1) ran reset browser in a loop with 39, breaks everything
2) ran loop with 39, memory grows
3) ran loop with 21, memory grows

#8 Updated by Kristofer B. over 4 years ago

So problem exist even with reset browser command.

#9 Updated by Miriam MB over 4 years ago

  • Status changed from Pending to Resolved

#10 Updated by Miriam MB over 4 years ago

  • Private changed from Yes to No

#11 Updated by Miriam MB over 4 years ago

  • Target version set to UBot Studio Stealth 5.9 Revision 19

#12 Updated by Miriam MB over 4 years ago

  • % Done changed from 0 to 100

#13 Updated by Miriam MB over 4 years ago

  • Status changed from Resolved to Completed

Also available in: Atom PDF