mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Tweak leak threshold on vulkan test
* It seems like some drivers don't free some memory from the resident set until a certain point, meaning the peak memory is higher after a couple of captures then goes down. This isn't a true leak and us checking the entire process's working set size is a very poor litmus test, so bumping this value is fine.
This commit is contained in:
@@ -69,8 +69,8 @@ RD_TEST(VK_Leak_Check, VulkanGraphicsTest)
|
||||
|
||||
while(Running())
|
||||
{
|
||||
// allow a generous 500MB, we're really only after catching big leaks here
|
||||
if(GetMemoryUsage() > 500 * 1000 * 1000)
|
||||
// allow a generous 750MB, we're really only after catching big leaks here
|
||||
if(GetMemoryUsage() > 750 * 1000 * 1000)
|
||||
{
|
||||
TEST_ERROR("Memory usage of %llu is too high!", GetMemoryUsage());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user