Comments
3 comments
-
Thank you for this informaiton- it is very helpful. I think we have some known issues with ngen- I will search for the infomaton and re-post it here.
-
Here's the info we have:
when you profile a managed process, only IL assembly modules are loaded and not the native images as would happen normally.
According to MS, it is possible to create "profiler friendly" native images using ngen with some specific switches- we have an exisiting feature request to do this automatically - PP-865. -
The switch for NGEN is /Profile, which I did use, but obviously it won't have had any effect. Do you have any idea why I would have got the OOM exception? It doesn't happen when profiling normally, i.e. without using the native images. Might be something you have to look into.
David.
Add comment
Please sign in to leave a comment.
So now I know that trying to profile an app using native images is probably not going to work properly. I posted this so that the title might help others who stumble across it.
David.