-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.AccessViolationException when reading dump #947
Comments
If I set I guess the CachedMemoryReader is not cleaning up after itself? |
If it helps here is the !DumpHeap -stat view from the crash dump of the exe using ClrMD:
|
@PhDuck thanks for the report (I know its quite old, I never use GitHub so I am just seeing this :(). I wrote the code in question so I can certainly take a look, though it looks like @catstrike may have found the issue if the segment size is > int32.MaxValue. One alternative you could try, though it is Windows only and requires enabling a specific setting, would be to use the AWE setting instead of the array style caching. I think you enable this by setting the CacheOptions to UseOSMemoryFeatures (the ones passed in to the minidump ctor) and then setting up Windows to enable locking pages in memory (requires a reboot): |
OS: Windows Server 2016 (Azure VM if that matters)
14393.4402.amd64fre.rs1_release.210426-1725
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
X64
Microsoft.Diagnostics.Runtime: 2.0.226801
Dump info:
.NET 4.8 X64
32GB
Seems to crash when hitting around 2.3 GB of memory usage, which seems a bit strange.
The text was updated successfully, but these errors were encountered: