cart: empty [ Login ]

OutOfMemoryException while rendering

1 
Palver123
3/18/2019 3:59 PM
Hi! I am trying to evaluate CadLib rendering capabilities and came across an OutOfMemoryException with your GDI+ renderer. I was fiddling with the sample program provided by you: WinFormsExtendedViewExample. Steps to reproduce: - I opened the attached DWG with WinFormsExtendedViewExample (built by me in Release Mode, using Visual Studio 2017) - I change the application window to fullscreen (my monitor resolution is 1920x1080) - I zoomed, panned until it crashed. Sometimes I don't even get to this step, before the exception occurs... I was using a Dell XPS 15 9570 with Windows 10.0.17134. My CadLib version is: 4.0.38.118. I am attaching the DWG file that causes it. I can also send you a memory dump file (with heap), but it's 1.7 GB in size. I don't have debug symbols for WW.Cad.dll, so that is not very useful probably. PS.: I could not upload the DWG to the forum. Nor I could upload a zipped version. I split the zipped DWG with Total Commander and tried to upload the file parts, which failed too... The only solution I have found is to upload each part one-by-one in separate comments. And the CRC file too... You will have to use Total Commander to combine my 6 files (7 if counting the CRC file) and unzip it via 7-zip.
Palver123
3/18/2019 4:02 PM
I have to attach the DWG file in a separate comment. 1st part:
Palver123
3/18/2019 4:03 PM
2nd part:
Palver123
3/18/2019 4:04 PM
3rd part:
Palver123
3/18/2019 4:04 PM
4th part
Palver123
3/18/2019 4:05 PM
5th part:
Palver123
3/18/2019 4:05 PM
6th (and final) part:
Palver123
3/18/2019 4:06 PM
And finally the CRC file:
Wout
3/18/2019 4:24 PM
Hi, Thank you for sharing the file. I'm afraid that at the moment this is a little over CadLib's capabilities to deal with. I can open the file locally, but it eats up 1.1 GB of memory and zooming/panning is sluggish. - Wout
1