memory leak detection
wolfino
✭✭
Hello I have tried according to manual detect wheather I have some memory leak but it is quite confusing.
For example: The documentation says to watch the amount of available memory before runing my app and after I cloce my app. Saying that it should be the same ...well it never comes back to same amount even if I dont run my app( i tried hot edit instead)
For example: The documentation says to watch the amount of available memory before runing my app and after I cloce my app. Saying that it should be the same ...well it never comes back to same amount even if I dont run my app( i tried hot edit instead)
and the memory went down and never came back for instance after i closed Hot Edit window. It kept comming down from 17666048 to 17657856.
Then I tryed to run my app and it went down to 17240064 and kept going down (to 17022976 ). Can somebody help me with this? How can I detect the memory leak?
I even tried the second way with logging off and checking the number of instances but it behave the same for app where I on purpose did not use dispose as for the one where i used it.
Both logs the first and the second ways of detecting are attached.
0
Comments
-
An easy way to detect memory leaks is, if you use a virtual controller, to run DebugView (a free tool from SysInternal)that displays any debug error message. You will be able to see what type of object is not disposed properly.
0 -
Thank you very much for the answer!
I have downloaded the debugview but i don't know how exactly to use it. Could you please help me with that? Some example ? Like what do i see if there is a memory leak. Thank you
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings