You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this code without starting SteamVR, the VR_Init call fails with an error Not starting vrserver for background app (121). Each failure seem to leak ~ 100KB on the stack in function VR_InitInternal2 as illustrated on the picture below.
This apparently becomes a problem when someone repeatedly calls VR_Init in an attempt to detect whether SteamVR has started.
The issue is observed on the stable 1.7.15 and the latest beta as well.
The text was updated successfully, but these errors were encountered:
@kisak-valve Thanks for letting me know, it is funny how the reports look similar even though I was not aware of the former.
Anyway, do you plan to fix? Why has it been open for so long?
@mann1x here (cmbruns/pyopenvr#71) pointed out that he observed a memory leak when repeatedly calling OpenVR init function.
I was able to reproduce it in the native code:
When running this code without starting SteamVR, the
VR_Init
call fails with an errorNot starting vrserver for background app (121)
. Each failure seem to leak ~ 100KB on the stack in functionVR_InitInternal2
as illustrated on the picture below.This apparently becomes a problem when someone repeatedly calls
VR_Init
in an attempt to detect whether SteamVR has started.The issue is observed on the stable 1.7.15 and the latest beta as well.
The text was updated successfully, but these errors were encountered: