Feature #1969

We should be able to disable memory leaks checking on runtime (Debug mode)

Added by Zbigniew Rebacz almost 5 years ago. Updated over 4 years ago.

Status:ApprovedStart date:06/24/2019
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CoreSpent time:-
Target version:Release 2019.2 - NTH

Description

Currently, we have issues with GLDraw on AMD drivers memory leaks and we didn't find appropriate solution to solve this issue. In my opinion we should be able to globally disable memory checking when certain run-time conditions occurs. For example we detected that we are using AMD driver.

Here is the command line that allows us to detect that we are running under AMD driver:

$ lspci -vnn | grep  'VGA'
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] [1002:665f] (rev 81) (prog-if 00 [VGA controller])

History

#1 Updated by Miroslav Fidler over 4 years ago

  • Status changed from New to Ready for QA

I have got leaks on my Ryzen2400G linux machine, so I have inserted IgnoreMemoryLeaks blocks into GLCtrl and it seems to have fixed the issue, so no global fix is required IMO.

#2 Updated by Zbigniew Rebacz over 4 years ago

  • Status changed from Ready for QA to New

With the latest version of Upp with fix that you are talking about the memory leak issue is still reproducible on my setup (Radeon 580). I think we should handle it in another way - I think we should add to run dialog - do not check memory leaks on debug.

#3 Updated by Zbigniew Rebacz over 4 years ago

  • Status changed from New to Approved

Also available in: Atom PDF