LogObjectUse function
Syntax
LogObjectUse([annotation])
Description
Use the LogObjectUse function to write to the system log a list of all the current PeopleCode objects with the current count, the object class name, and the maximum count of objects of this type.
While this function is mainly used to determine memory usage, the output is also an informative display of the object use in your system at a particular point in time.
Parameters
| Parameter | Description |
|---|---|
|
annotations |
Specify a string to become the first line in the log file. This enables you to easily identify output corresponding to your use of this built-in. |
Returns
None.
Example
The following is an example of output that can be generated in the system log.
PeopleCode side - after Java
1902 JavaPeerReference
0 Field 14
0 ContentRefCollection 4
0 PortalCollection 3
83 String 116459
0 PT_NAV:NavEndNode 6
0 PT_NAV:NavFolderNode 35
0 PT_NAV:NavTheme 1
0 PT_NAV:NavNodeCollection 4
0 PortalRegistry 7
0 PT_BRANDING:HeaderLinkBase 1
0 PT_NAV:NavNode 45
0 PT_BRANDING:HeaderLinkHP 1
0 BIDocs 4
0 PT_NAV:NavPortal 1
1 SyncServer 1
0 TabDefinition 1
951 Rowset 220001
0 FolderCollection 4
0 SQL 5
0 Folder 69
1 Response 14
1 Foxtest 3
0 Record 1
23 Array 264
1 Request 15
0 AttributeCollection 40
0 UserHomepage 2
0 Portal 3
0 NodeCollection 3
0 UserTabCollection 1
0 ObjPropRef 3
951 FOXTEST:Test 110001
0 PT_BRANDING:BrandingBase 3
0 ContentRef 13
0 PT_NAV:NavPagelet 1
0 TabDefinitionCollection 1
0 Session 10
0 NetworkNode 3