diff --git a/csharp/test/Apache.Arrow.IntegrationTest/CDataInterface.cs b/csharp/test/Apache.Arrow.IntegrationTest/CDataInterface.cs index 653fdbda31779..2fabae1a2a3b3 100644 --- a/csharp/test/Apache.Arrow.IntegrationTest/CDataInterface.cs +++ b/csharp/test/Apache.Arrow.IntegrationTest/CDataInterface.cs @@ -73,12 +73,5 @@ public static void RunGC() GC.Collect(); GC.WaitForPendingFinalizers(); } - - public static long GetAllocatedBytes() - { - // XXX this doesn't seem to give stable and reliable measurements - var gcInfo = GC.GetGCMemoryInfo(); - return gcInfo.PromotedBytes; - } } }