The project I am working on is using Deep Zoom Service to display images uploaded by the user. Based on the network traffic monitored by Fiddler and Silverlight client memory debugging by WinDbg, we found out Deep Zoom Service is free for development, but in order to support it, the deployment environment must have extra internet bandwidth, and Silvelight client must have enough free memory. See below test results using a 1MB size of jpeg file, after image displayed in System.Windows.Controls.MultiScaleImage control, doing only a few zoom in, zoom out and move directions.
Network traffic monitored by Fidder, total 43 network round trip for just displaying one image.
Memory usage debugging by WinDbg, total 12MB is used for one image.
0:048> !dumpheap -mt 7ac18ea8
Address MT Size
287509e8 7ac18ea8 72
total 0 objects
Statistics:
MT Count TotalSize Class Name
7ac18ea8 1 72 System.Windows.Controls.MultiScaleImage
Total 1 objects
0:048> !objsize 287509e8
sizeof(287509e8) = 12690624 ( 0xc1a4c0) bytes (System.Windows.Controls.MultiScaleImage)
No comments:
Post a Comment