Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

High CPU when allocating memory

$
0
0

We are experiencing periods of time when CPU utilization of our application goes to %100 percent for several seconds. I tracked this down to two CLR methods which are called when ‘new’ objects are created.  The first being ?JIT_New@@YIPAVObject@@PAUCORINFO_CLASS_STRUCT_@@@Z. The second being ?JIT_NewArr1@@YIPAVObject@@PAUCORINFO_CLASS_STRUCT_@@H@Z. The size of the objects being created are relatively small.  I understand that there is more to memory allocation then just getting memory, and that Garbage Collection might also be involved. I also understand that it might spike the CPU.  But why would the spike last so long, upwards to 5+ seconds? Any insight would be greatly appreciated.

Thanks

Dan 


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>