Quardo 2000 and memory consumption on glDrawArraysInstanced call

Hello,

Im recently implementing a freetype text rendering example and found out that it starts eating process memory on each glDrawArraysInstanced call. Memory consumption is just growing with no deallocation. It is not happening on RTX5070 or AMD hardware. All my tests are done under windows 11 / recent available drivers. Here is the specs NVIDIA System Information report created on: 02/03/2026 10:06:04
System name:

[Display]
DirectX version: 12.0
GPU processor: NVIDIA RTX 2000 Ada Generation Laptop GPU
Driver version: 582.16
Driver Type: DCH
Direct3D feature level: 12_1
CUDA Cores: 3072
Max-Q Technologies Yes
Dynamic Boost Yes
WhisperMode Yes
Advanced Optimus No
Maximum Graphics Power 80 W
Core clock: 2115 MHz
Memory data rate: 16.00 Gbps
Memory interface: 128-bit
Memory bandwidth: 256.03 GB/s
Total available graphics memory: 24288 MB
Dedicated video memory: 8188 MB GDDR6
System video memory: 0 MB
Shared system memory: 16100 MB
Video BIOS version: 95.07.53.00.51
IRQ: Not used
Bus: PCI Express x8 Gen4
Device Id: 10DE 28B8 223417AA
Part Number: 3757 0110

[Components]

nvui.dll 8.17.15.8216 NVIDIA User Experience Driver Component
nvxdplcy.dll 8.17.15.8216 NVIDIA User Experience Driver Component
nvxdbat.dll 8.17.15.8216 NVIDIA User Experience Driver Component
nvxdapix.dll 8.17.15.8216 NVIDIA User Experience Driver Component
NVCPL.DLL 8.17.15.8216 NVIDIA User Experience Driver Component
nvCplUIR.dll 8.1.940.0 NVIDIA Control Panel
nvCplUI.exe 8.1.940.0 NVIDIA Control Panel
nvWSSR.dll 32.0.15.8216 NVIDIA Workstation Server
nvWSS.dll 32.0.15.8216 NVIDIA Workstation Server
nvViTvSR.dll 32.0.15.8216 NVIDIA Video Server
nvViTvS.dll 32.0.15.8216 NVIDIA Video Server
nvLicensingS.dll 6.14.15.8216 NVIDIA Licensing Server
nvDevToolSR.dll 32.0.15.8216 NVIDIA Licensing Server
nvDevToolS.dll 32.0.15.8216 NVIDIA 3D Settings Server
nvDispSR.dll 32.0.15.8216 NVIDIA Display Server
nvDispS.dll 32.0.15.8216 NVIDIA Display Server
NVCUDA64.DLL 32.0.15.8216 NVIDIA CUDA 13.0.97 driver
nvGameSR.dll 32.0.15.8216 NVIDIA 3D Settings Server
nvGameS.dll 32.0.15.8216 NVIDIA 3D Settings Server

and the link to the git OpenGL-Experiments/GLExp_Freetype at master · skuratiov/OpenGL-Experiments · GitHub