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

PerfView "Data not merged before leaving the machine" and "out of memory exception"

$
0
0

With PerfView 1.8 I did a "Collect" with "Thread Time" and "Merge" checked, to troubleshoot an ASP.NET 3.5 WebForms app that slows down after being used for several hours.

Tried copying the resulting ETL.ZIP file to a desktop so as not to burden the server with analysis. Opened the file in Perfview. Double-clicked "ASP.NET Thread Time Stacks" in the treeview on left. Then double-clicked the w3wp process in popup"Select Process Window". Got popup with title "Data not merged before leaving the machine!". Obviously I had merged it though.

Then tried opening the ETL.ZIP on the server where it was collected. Steps:

* Again, double-click "ASP.NET Thread Time Stacks",

* double-click the w3wp process of interest.

* highlight "BLOCKED_TIME" on "By Name" tab, right-click, "Include Item"

* On "CallTree" tab, expand the tree into a Request.

* here is a section of tree:

Name
|+ Thread (1340) CPU=428ms
| + BROKEN
| + App_Code!{One of our methods}
| |+ OTHER <<microsoft.visualbasic.ni!?>>

* right-click on the "microsoft.visualbasic.ni!?" line, "Lookup Symbols". Symbols don't appear to have been loaded and "Log" shows this Out of Memory:

[Looking up symbols for microsoft.visualbasic.ni]
Symbol reader _NT_SYMBOL_PATH= {
D:\PerfView;
SRV*C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols*http://msdl.microsoft.com/download/symbols;
}
This can be set using the File -> Set Symbol Path dialog on the Stack Viewer.
Created SymbolReader with SymbolPath D:\PerfView;SRV*C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols*http://msdl.microsoft.com/download/symbols
[Loading symbols for c:\windows\assembly\nativeimages_v2.0.50727_64\microsoft.visualbas#\1e9896001ec5b86329ee587ca0b99fd0\microsoft.visualbasic.ni.dll]
No PDB signature for c:\windows\assembly\nativeimages_v2.0.50727_64\microsoft.visualbas#\1e9896001ec5b86329ee587ca0b99fd0\microsoft.visualbasic.ni.dll in trace.
Data collected on current machine, looking up PDB by inspecting information in EXE.
FindSymbolFilePathForModule: searching for PDB for DLL c:\windows\assembly\nativeimages_v2.0.50727_64\microsoft.visualbas#\1e9896001ec5b86329ee587ca0b99fd0\microsoft.visualbasic.ni.dll.
FindSymbolFilePath: *{ Locating PDB f:\binaries.x86ret\bin\i386\Microsoft.VisualBasic.pdb GUID 8b3f5cda-4b2c-40b9-a5fe-49d8fabe2c0e Age 1 Version 8.0.50727.5483 (Win7SP1GDR.050727-5400)
FindSymbolFilePath: Pdb is for DLL c:\windows\assembly\nativeimages_v2.0.50727_64\microsoft.visualbas#\1e9896001ec5b86329ee587ca0b99fd0\microsoft.visualbasic.ni.dll
FindSymbolFilePath: Probed file location D:\PerfView\Microsoft.VisualBasic.pdb does not exist
FindSymbolFilePath: Found in cache C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols\Microsoft.VisualBasic.pdb\8b3f5cda4b2c40b9a5fe49d8fabe2c0e1\Microsoft.VisualBasic.pdb
FindSymbolFilePath: *} Successfully found PDB C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols\Microsoft.VisualBasic.pdb\8b3f5cda4b2c40b9a5fe49d8fabe2c0e1\Microsoft.VisualBasic.pdb GUID 8b3f5cda-4b2c-40b9-a5fe-49d8fabe2c0e Age 1 Version 8.0.50727.5483 (Win7SP1GDR.050727-5400)
FindSymbolFilePathForModule returns C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols\Microsoft.VisualBasic.pdb\8b3f5cda4b2c40b9a5fe49d8fabe2c0e1\Microsoft.VisualBasic.pdb
Opening PDB C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols\Microsoft.VisualBasic.pdb\8b3f5cda4b2c40b9a5fe49d8fabe2c0e1\Microsoft.VisualBasic.pdb with signature GUID 8b3f5cda-4b2c-40b9-a5fe-49d8fabe2c0e Age 1
Opened Pdb file C:\Users\ADMINI~1\AppData\Local\Temp\4\symbols\Microsoft.VisualBasic.pdb\8b3f5cda4b2c40b9a5fe49d8fabe2c0e1\Microsoft.VisualBasic.pdb
Loaded, resolving symbols
Error: Caught out of memory exception on file microsoft.visualbasic.ni. Skipping.
Finished Lookup up symbols for microsoft.visualbasic.ni Elapsed Time = 0.031
Completed: Symbol Lookup (Elapsed Time: 0.047 sec)
Started: Computing Stack Traces
Completed: Computing Stack Traces (Elapsed Time: 0.187 sec)

Any suggestions for getting around either of these problems?

Thanks.


Viewing all articles
Browse latest Browse all 1710

Trending Articles



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