Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 856 RAPID Programming
- 40 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings