| Lab3 Mp3, Lab3 Music Lyrics
| |
Lab3 biography, Lab3 discography
In this area you will find downloadable documentation relating to Lab3 and Lab3 products and services.Most documents are made available in Adobe PDF format.Associates is a minority owned and operated
corporation that is certified in the U.Lab 3: Integrating InfoPath 2007 wi...Lab 3: Integrating InfoPath 2007 with the Data Connection Library Learn how to use Universal Data Connection (UDC) files in a Data Connection Library (DCL) to provide data connection settings to Microsoft Office InfoPath 2007 form templates for use in both client and server forms.Microsoft Office InfoPath 2007
Access to a Microsoft Office SharePoint Server 2007 or Microsoft Office Forms Server 2007 server as a Farm Administrator You must have Office InfoPath 2007 installed on a client computer and InfoPath Forms Services installed on a server computer.Both applications can be installed on the same computer.Exercises Creating a Data Connection Library Follow these steps to create a data connection library in a site collection so that you have a place to put the shared data connection settings file.On the Quick Launch bar, click Documents.On the All Content page, click Create.On the Create page click Data Connection Library.Creating a Connection Settings File The Universal Data Connection (UDC) file will be used by InfoPath to determine where to get data for an announcement list in the form that you will create later.URL to the root SharePoint Server site where you created the data connection library.Click Site Libraries and Lists in the Site Administration section.Click the Customize Announcements link.Save the file as DCLLab.Click Announcements in the breadcrumb bar to go back to the Announcements list.Select New Item from the New button to add an announcement.On the Upload Document page, click Browse and navigate to the UDC file you created in the previous exercise.Verifying the Properties page of a UDC file Click Save.In the Getting Started dialog box, click Design a Form Template.In the Data Connections dialog box, click Add.On the first page of the Data Connection Wizard, select Search for connections on a Microsoft Office SharePoint Server, and then click Next.In the Manage Sites dialog box, click Add.In the Site list, select the site you defined.Expand the entry for your data connection library, select the UDC file you uploaded, and then click Next.Because Announcements data is not likely to change frequently, this will ensure that users always have the data available, without significant risk of the data being out of date.Next, add some text and controls to the form so it looks similar to the following form template.Expand nodes in the field chooser and select Announcements, then click OK.Click the button next to the Value field.To test the form On the File menu, click Preview Form.To learn how to enable digital signatures in an InfoPath form so that users can sign the form in InfoPath or in Internet Explorer, see Lab 4: Enabling Digital Signatures in InfoPath 2007 Form Templates.TGIF, almost time for the weekend...This time we are going to stress the BuggyBits site to create a high memory usage situation and figure out what caused it.This lab is a bit lengthier because I wanted to show various aspects of a memory investigation.Once you know the relationship between the numbers in the dump and perfmon etc.Set up a performance monitor log
1.NET CLR Memory" and "Process" and click ok.Click ok, this will start monitoring the process.Note: You can lower the amount of loops slightly if you find that your process crashes because of OutOfMemory exceptions, I set it this high so that we would get some kind of output in perfmon.Examine the performance logs
1.In performance monitor, move to the "System Monitor" node
2.Remove any counters that it already added at the bottom of the screen
4.Virtual Bytes
The counters should now show up at the bottom of the screen...Bytes in all Heaps, do they follow eachother or do they diverge?Compare the values for Mem Usage and VM Size to the values for Private Bytes and Virtual Bytes in perfmon.Note: since they are given in K in task manager you need to multiply these values by 1024).Q: What does VM Size show?Look at the size in the file explorer.Hint: check the windbg help files for !Q: Where is most of the memory going (which RegionType)?Q: What does Busy, Pct(Busy) and Pct(Tots) mean?Bytes in all Heaps follows Private bytes very closely meaning that the increase in memory is mostly an increase in .In other words we are looking for an answer to why our .Q: How many heaps do you have?Q: How much memory is stored on the .Q: How much memory is on the large object heap?Compare to Large Object Heap Size in perfmon.However in this case the strings are so many and occupy so much memory that if we don't find anything else that sticks out, we might just want to follow the string lead...Dump out stats for various size strings to find out if there is a pattern (this is a bit of trial and error so you have to try a few different sizes to figure out where the bulk of the strings are.Get the method table (MT) for System.In this case most of them will even be the exact same size which is a clue to what is going on...Q: What do these strings contain?Q: Where are they rooted?Find the finalizerthread to determine what it is doing.Q: What object is it finalizing?Who is this OutOfMemory guy and why does he make my process crash when I have plenty of memory left?Say you want to find the contents of a string, so you !What if you get an error saying the string it too large to display ?That's quite a few w3wp.Hope you have had a chance to go through the high CPU lab...The _global_ counters are not reliable.Bytes in all heaps for certain w3wp.Anyways, on to the lab review...Add the following counters (for the w3wp.Large Object Heap Size .Virtual Bytes The counters should now show up at the bottom of the screen...Bytes in all Heaps, do they follow eachother or do they diverge?GC heaps (and other things like dlls etc.A: Per the above, it looks like a .Q: At the end the log (after you finish your tinyget run) does memory stay flat or does it go down?Note: since they are given in K in task manager you need to multiply these values by 1024).MB when I grabbed the memory dump.Working Set "the current size, in bytes, of the Working Set of this process.If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use.When free memory falls below a threshold, pages are trimmed from Working Sets.Bytes in all heaps "This counter is the sum of four other counters; Gen 0 Heap Size; Gen 1 Heap Size; Gen 2 Heap Size and the Large Object Heap Size.This counter indicates the current memory allocated in bytes on the GC Heaps."Gen 0 heap size "This counter displays the maximum bytes that can be allocated in generation 0 (Gen 0); its does not indicate the current number of bytes allocated in Gen 0.The Gen 0 size is tuned by the Garbage Collector and can change during the execution of the application.This counter is updated at the end of a GC; its not updated on every allocation."Gen 1 heap size "This counter displays the current number of bytes in generation 1 (Gen 1); this counter does not display the maximum size of Gen 1.Objects are not directly allocated in this generation; they are promoted from previous Gen 0 GCs.This counter is updated at the end of a GC; its not updated on every allocation."LOH size "This counter displays the current size of the Large Object Heap in bytes.Objects greater than 20 KBytes 85000 bytes are treated as large objects by the Garbage Collector and are directly allocated in a special heap; they are not promoted through the generations.This counter is updated at the end of a GC; its not updated on every allocation."The LOH explanation says that objects over 20 k are large objects, that used to be the case in 1.Open the dump in windbg 1.Size 7fefa000 (2096104 KB)
There is a great deal of information here but all of it may not be so obvious, and believe me I get confused sometimes too here.The screen basically shows all memory used by the process split into different types.Then it goes on to list them by type (IMAGE, MAPPED or PRIVATE) and finally by whether the area is just reserved or also committed.Tot: ffff0000 (4 194 240 kb) means that I have 4 GB virtual address space in total to play with for this app.MEM_PRIVATE is memory that is private (not shared with any process) and not mapped to a file.GC heaps are allocated with virtual allocs.Q: What does Busy, Pct(Busy) and Pct(Tots) mean?Pct(Tots) shows you how many percent of the total virtual address space you are using for this region type, and Pct(Busy) shows how much of the reserved memory is used for this region type.Pct(Busy) is definitely the most interesting one in my opinion.Q: What does MEM_IMAGE mean?Q: Under what region does .Bytes in all Heaps follows Private bytes very closely meaning that the increase in memory is mostly an increase in .Q: How many heaps do you have?Q: How much memory is stored on the .Compare to Large Object Heap Size in perfmon.A: its very minimal so the LOH doesnt seem to be an issue.DumpHeap to get help for the !MB definitely seems a bit weird, and 36000 Links (whatever they may be) also sound fishy, especially since there is about the same amount of stringbuilders present in the dump.A: If we dump out a Link object with !If on the other hand you run !Link contains a url and a name.However if you look at a web control which has a member var _parent and you run !Value Name
790fdc5c 4000006 4 ...StringBuilder 0 instance 371d44dc url
790fd8c4 4000007 8 System.Dump out stats for various size strings to find out if there is a pattern (this is a bit of trial and error so you have to try a few different sizes to figure out where the bulk of the strings are.A: looks like the links shown in the links.Pick a few and find out where they are rooted (i.Q: Where are they rooted?Q: What objects are listed in the finalizequeue output?Q: How many objects are "ready for finalization"?A: Around 36000 in total, so these objects are garbage collected and ready to be finalized.If ready for finalization shows anything above 0 there is a pretty good chance the finalizer is blocked which is why these objects stick around waiting to be finalized, and with them goes all the memory they reference.Announcements CI Factory Version 1.The reason I would look as Link objects as a problem is because there are 36000 of them which seems like a pretty high number.Whether it's a high number or not of course depends on what you think the app should use.In this case I would have assumed that it would have about 100 or so active link objects at an y given time.Hi KB,
that means that you didnt load sos, run .With labs 1 and 2 under my belt, lab 3 was a walk in the park.This has been a very busy semester for me, so I've had to find ways to spend as little time on these assignments as possible, while still meeting all the requirements.November
(2)
Lab 4 Complete!NOTE:To make the most out of your LabBench experience, review the LabBench Tips.Copyright 2008 Pearson Education, Inc.
|
| |
|
 |
|