VuGen crashes with an OutOfMemoryException after recording an HTTP/HTML procotol script and either editing the script or stepping away for a bit and coming back. It happens consistently, implying a possible memory leak.
Full stack trace and screenshot are attached.
The Thumbnails are referenced in the stack trace (below). I attempted to disable via Tool -> Options -> Scripting -> Thumbnails -> Uncheck everything. I'll update if this seems to be a viable workaround.
This is a new LoadRunner 12.02 deployment. It was an in-place upgrade over R11.52. I did NOT see this behavior on the previous version.
I did a keyword search of the forums and did not see this particular issue. Any suggestions what causes it and how to workaround it?
Thank you
/Jordan
-------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Windows.Interop.InteropBitmap..ctor(IntPtr hbitmap, IntPtr hpalette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions, WICBitmapAlphaChannelOption alphaOptions)
at System.Windows.Interop.Imaging.CriticalCreateBitmapSourceFromHBitmap(IntPtr bitmap, IntPtr palette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions, WICBitmapAlphaChannelOption alphaOptions)
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.GetBitmapSource(Graphics gr, IHTMLElement elementToRender, BitmapSource& bitmapSourceResult, Boolean useTheUserMonitorSize)
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.CreateThumbnailWithHtmlViewer()
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.Stop()
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.TimeoutTimerEventOnUIThread(ThumbnailCreationHostWindow senderWindow)