RAPID memory leak?
DanS
✭✭
I think there is a RAPID memory leak with the following when the record being searched for does not exist. Maybe someone can verify this and eventually fix?
RapidSymbolSearchProperties props = RapidSymbolSearchProperties.CreateDefaultForData(true);
props.LocalSymbols = false;
List<RapidSymbol> symbolsFound = new List<RapidSymbol>();
try
{
// This causes a leak in RAPID memory if the "myundefinedrecord" record isn't installed
symbolsFound.AddRange(this.Task.SearchRapidSymbol(props, "myundefinedrecord", ""));
}
catch
{
Controller.ReleaseUnmanagedResources();
return;
}
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings