<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=1272693" />
  <subtitle>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=1272693</id>
  <updated>2013-05-23T02:11:51Z</updated>
  <dc:date>2013-05-23T02:11:51Z</dc:date>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7824114" />
    <author>
      <name>JACK CHEN</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7824114</id>
    <updated>2012-10-18T21:51:02Z</updated>
    <published>2012-10-18T21:51:02Z</published>
    <summary type="html">David,
We noticed another two files missing from 7.5(10).  Could you forward them as well?
exercise2Dlg.cpp and exercise2Dlg.h
Looking the logs, we could not determine why the files were backed up, but the new version not written.  Is there addiitonal logging we can enable for the install process?  FYI, we could not use the 7.5(6) version.</summary>
    <dc:creator>JACK CHEN</dc:creator>
    <dc:date>2012-10-18T21:51:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7756028" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7756028</id>
    <updated>2012-10-17T20:07:19Z</updated>
    <published>2012-10-17T20:07:19Z</published>
    <summary type="html">David,
Disabling skillGroup stats for all before enabling them for a particular group worked --- I am getting stats just for one group. This was actually a test -- I was hoping to see if I won't get memory leak this way. But it still leaks. I am using 7.5(6). Will try upgrading to 7.5(10).</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-17T20:07:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Arthur Shats in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7714766" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7714766</id>
    <updated>2012-10-16T21:38:03Z</updated>
    <published>2012-10-16T21:38:03Z</published>
    <summary type="html">Make sure you disableSkillGroupStatistics for all skill groups first.  I found that the enableskillgroupstatistics will persist between CTIOS Client connections so if you have previously enabled all skills you will need to disable them all as well before you enable just the one(s) you want.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-16T21:38:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7718771" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7718771</id>
    <updated>2012-10-16T21:29:20Z</updated>
    <published>2012-10-16T21:29:20Z</published>
    <summary type="html">David, 
I used DumpArgs() to find out what the priorities are for our skillGroups --- priority is 0 for all skillGroups. So, I tried as you said (only in C++) for group 915 only:
skillArgs.AddItem(“1”, 915) 
skillArgs.AddItem(“2”, 0)
myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
m_Agent.EnableSkillGroupStatistics(myskillArgs)
but I still see OnSkillGroupStatisticsUpdated event triggered for EVERY skillGroup, not just for 915.</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-16T21:29:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Arthur Shats in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7697799" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7697799</id>
    <updated>2012-10-16T17:59:03Z</updated>
    <published>2012-10-16T17:59:03Z</published>
    <summary type="html">You have to code it like I have, with the first item being the skillgroup and the second item being the priority and the 3rd item being the next skillgroup, etc.  (priority is found in the config for the skillgroup in the Configuration Manager).

Dim myskillArgs, skillArgs As New Cisco.CTIOSCLIENTLib.Arguments

        Log("Sending EnableSkillGroupStatistics")
        skillArgs.AddItem("1", 1)   ' 1 is skillgroupnumber
        skillArgs.AddItem("2", 0)  ' 0 is skillgroup priority
        skillArgs.AddItem("3", 2)   ' 2 is skillgroupnumber
        skillArgs.AddItem("4", 0)  ' 0 is skillgroup priority
        myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
        m_Agent.EnableSkillGroupStatistics(myskillArgs)

If the skillargs array is incorrect or invalid, then you will get onSillGroupStatisticsUpdated for all skillgroups.

You have

skillArgs.AddItem("915", 0) ' 0 is skillgroup priority
myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
m_Agent.EnableSkillGroupStatistics(myskillArgs

which should be

skillArgs.AddItem(“1”, 915)  ‘915 is skillgroupnumber
skillArgs.AddItem(“2”, 0)  ‘0 is skillgroup priority
myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
m_Agent.EnableSkillGroupStatistics(myskillArgs)



From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Tuesday, October 16, 2012 1:24 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Arthur Shats in Computer Telephony Integration Object Server (CTIOS) Toolkit - CTIOS Toolkit Questions: RE: Memory leaks in CTIOS

Arthur Shats has created a new message in the forum "CTIOS Toolkit Questions": -------------------------------------------------------------- David,
I tried setting up stats for one group only (using C++ equivalent of the code above), but see that OnSkillGroupStatisticsUpdated event STILL being triggered for EVERY skillGroup, not just for the one group I set up. Any ideas why?
Thanks.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/ctios/forums/-/message_boards/view_message/7710284 or simply reply to this email.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-16T17:59:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7710284" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7710284</id>
    <updated>2012-10-16T17:23:30Z</updated>
    <published>2012-10-16T17:23:30Z</published>
    <summary type="html">David, 
I tried setting up stats for one group only (using C++ equivalent of the code above), but see that OnSkillGroupStatisticsUpdated event STILL being triggered for EVERY skillGroup, not just for the one group I set up. Any ideas why?
Thanks.</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-16T17:23:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7709278" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7709278</id>
    <updated>2012-10-16T16:36:45Z</updated>
    <published>2012-10-16T16:36:45Z</published>
    <summary type="html">David,
I'd like to try geting stats only for a specific skillGroup, say group# 915. So following your exampl abve, I would do this (only in C++):
skillArgs.AddItem("915", 0) ' 0 is skillgroup priority
myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
m_Agent.EnableSkillGroupStatistics(myskillArgs)
What is skillgroup priority? If I am setting more than one skillgroup, the priority would tell which group I want to get first? And if I set it to 0, it means priority doesn't matter?</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-16T16:36:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from David Lender in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7650036" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7650036</id>
    <updated>2012-10-15T16:21:34Z</updated>
    <published>2012-10-15T16:21:34Z</published>
    <summary type="html">Here is my code for enabling statistics for all skills to which the agent belongs:

Dim myskillArgs As New Cisco.CTIOSCLIENTLib.Arguments

        Log("Sending EnableSkillGroupStatistics")
        m_Agent.EnableSkillGroupStatistics(myskillArgs)</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-15T16:21:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Arthur Shats in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7639971" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7639971</id>
    <updated>2012-10-15T16:03:34Z</updated>
    <published>2012-10-15T16:03:34Z</published>
    <summary type="html">You are receiving the skillgroupstatistics for all stats, correct?  My example was for obtaining only specific skills.  You are correct for all skills you send an empty skillGrpParam, just make sure you release it after you call EnableSkillGroupStatistics.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-15T16:03:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7647884" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7647884</id>
    <updated>2012-10-15T15:59:57Z</updated>
    <published>2012-10-15T15:59:57Z</published>
    <summary type="html">Correction,
When in the above I say, "I am doing anything of that kind because I need stats for ALL groups", I really mean "I am [b][u]NOT[/u][/b] doing anything of that kind because I need stats for ALL groups"</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-15T15:59:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7647841" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7647841</id>
    <updated>2012-10-15T15:57:06Z</updated>
    <published>2012-10-15T15:57:06Z</published>
    <summary type="html">David,
I reviewed your code above and it looks like I am using the same logic in C++. The only difference is that I don't call DisableSkillGroupStatistics and I don't set skillGroups when calling EnableSkillGroupStatistics. What I noticed in your code is that you set skillGroups using AddItem for skillArgs, then you call myskillArgs.AddItem("SkillGroupNumbers", skillArgs) and you use myskillArgs to EnableSkillGroupStatistics. The Java code example in the documentation uses SetValue to set skillGroups and corresponding peripheralID instead of AddItem and it does NOT use a line similar to your myskillArgs.AddItem("SkillGroupNumbers", skillArgs). Is that right? I am doing anything of that kind because I need stats for ALL groups, so I just call: 
Arguments &amp;skillGrpParam = Arguments::CreateInstance();
rc = m_pCtiAgent-&gt;EnableSkillGroupStatistics(skillGrpParam); 
but maybe I do need to set something like your myskillArgs.AddItem("SkillGroupNumbers", skillArgs) where skillArgs would be an empty object? What do you think? 
thanks.</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-15T15:57:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Arthur Shats in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7535665" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7535665</id>
    <updated>2012-10-11T19:54:42Z</updated>
    <published>2012-10-11T19:54:42Z</published>
    <summary type="html">Correct, if you want all skill groups you do not specify any skills arguments to the EnableSkillGroupStatistics method.
Correct, you only have to enable skillgroupstatistics once.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-11T19:54:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7535078" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7535078</id>
    <updated>2012-10-11T19:32:59Z</updated>
    <published>2012-10-11T19:32:59Z</published>
    <summary type="html">But in Agent Desktop, if I want to monitor stats for ALL skillgroups, I don't have to specify the skillgroups, do I ? Therefore you can omit your .AddItem calls. Am I right? 
Another questions. If my app runs continuously, 24 hours a day, I call EnableSkillGroupStatistics once and I do NOT have to call DisableSkillGroupStatistics. Am I correct?</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-11T19:32:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Arthur Shats in Computer Telephony Integration Object</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7527339" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7527339</id>
    <updated>2012-10-11T18:57:26Z</updated>
    <published>2012-10-11T18:57:26Z</published>
    <summary type="html">Here is the VB.NET (COM Cil) Code

Private Sub m_session_OnSkillGroupStatisticsUpdated(ByVal pIArguments As Cisco.CTIOSCLIENTLib.Arguments) Handles m_session.OnSkillGroupStatisticsUpdated
        Dim statArgs As New Cisco.CTIOSCLIENTLib.Arguments
        Dim numAgents As Integer
        Dim strAgents As String

        LogEvent("OnSkillGroupStatisticsUpdated", pIArguments)
        ' Log("Stats: " + pIArguments.GetValue("Statistics").DumpArg())
        statArgs = pIArguments.GetValueArray("Statistics")
        '  Log("Statargs:" + statArgs.DumpArgs())
        If statArgs.IsValid("AgentsLoggedOn") Then
            '    Log("Valid")
        Else
            '   Log("NotValid")
        End If
        Log("numAgents: " + Str(statArgs.GetValueInt("AgentsLoggedOn")))
        numAgents = statArgs.GetValueInt("AgentsLoggedOn")
        Log("numAgents: " + Str(numAgents))

    End Sub


    Private Sub Enable_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Enable.Click
        Dim myskillArgs, skillArgs As New Cisco.CTIOSCLIENTLib.Arguments

        Log("Sending EnableSkillGroupStatistics")
        skillArgs.AddItem("1", 1)   ' 1 is skillgroupnumber
        skillArgs.AddItem("2", 0)  ' 0 is skillgroup priority
        skillArgs.AddItem("3", 2)   ' 2 is skillgroupnumber
        skillArgs.AddItem("4", 0)  ' 0 is skillgroup priority
        myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
        m_Agent.EnableSkillGroupStatistics(myskillArgs)

    End Sub

    Private Sub Disable_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Disable.Click
        Dim myskillArgs, skillArgs As New Cisco.CTIOSCLIENTLib.Arguments
        skillArgs.AddItem("1", 1)   ' 1 is skillgroupnumber
        skillArgs.AddItem("2", 0)  ' 0 is skillgroup priority
        skillArgs.AddItem("3", 2)   ' 2 is skillgroupnumber
        skillArgs.AddItem("4", 0)  ' 0 is skillgroup priority
        myskillArgs.AddItem("SkillGroupNumbers", skillArgs)
        m_Agent.DisableSkillGroupStatistics(myskillArgs)
    End Sub</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-11T18:57:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7531705" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7531705</id>
    <updated>2012-10-11T18:27:58Z</updated>
    <published>2012-10-11T18:27:58Z</published>
    <summary type="html">David,
One more thing I forgot to mention. I tried the above code in v7.5(2) going upto and including v7.5(6) and it still leaks.</summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-11T18:27:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Memory leaks in CTIOS</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7531097" />
    <author>
      <name>Arthur Shats</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7531097</id>
    <updated>2012-10-11T17:58:10Z</updated>
    <published>2012-10-11T17:58:10Z</published>
    <summary type="html">David,
Whe you say to review our statistics code for memory leask, this would be very simple, because there are only few lines of code I added to the C++Phone sample app. Here they are:
In the EvenSink.cpp, in the OnSetAgentModeEvent, where it sets agentID, password, instrument and peripheralID before doing the actual login, I added 3 lines to enable remote login:
arLoginReq.AddItem(CTIOS_REMOTELOGIN, "true");
arLoginReq.AddItem(CTIOS_AGENTREMOTENUMBER, "1234567890");
arLoginReq.AddItem(CTIOS_AGENTCALLMODE, 3);
then it does m_pCtiAgent-&gt;Login(arLoginReq); and arLoginReq.Release(); I didn't touch these lines.
Then in OnQueryAgentStateConf, I added a call to enable stats:
Arguments &amp;skillGrpParam = Arguments::CreateInstance();
rc = m_pCtiAgent-&gt;EnableSkillGroupStatistics(skillGrpParam);
unsigned long rcode = skillGrpParam.Release();   //and when I print rcode, it's 0, so all is good.
And then I add OnSkillGroupStatisticsUpdated event with no code in it.
When I execute with the above code, there is no memory leak, memory usage doesn't increase.
The memory leak starts when in OnSkillGroupStatisticsUpdated, I add the following:
Arguments &amp;stats = Arguments::CreateInstance();
stats = rArguments.GetValueArray("Statistics");
unsigned long rcode = stats.Release(); //rcode here returns 2; even when I call .Release() twice so it rcode does become 0, the next time the event is called I get rcode of 2 again. And the memory usage keeps increasing.
So as you can see, there is very little code I added, and the leak seem to start only after the last two .CreateInstance and .GetValueArray. So where am I doing something wrong? I am using the methods that are part of the SDK.
Thanks.
p.s. Do you have the actual COM code that you used to get stats? Is my C++ equivalent is similar to your COM, or am I missing something. Could you send me the lines you added in COM... if you can?
Thanks.
 </summary>
    <dc:creator>Arthur Shats</dc:creator>
    <dc:date>2012-10-11T17:58:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7504071" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7504071</id>
    <updated>2012-10-10T20:12:42Z</updated>
    <published>2012-10-10T20:12:42Z</published>
    <summary type="html">The server also needs to be at 8.5.  I suggest you review your statistics code for memory leaks.  I have verified that the COM Cil application ctiosphone does not have any memory leak when skillgroupstatistics are enabled.  Note that the COM Cil uses the C++ Cil so if there was a memory leak it would show up in a COM Cil app.    Is it possible for you to use the COM CIL rather than the C++ CIL?  That way you do not have to worry about memory management.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-10T20:12:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7501996" />
    <author>
      <name>JACK CHEN</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7501996</id>
    <updated>2012-10-10T20:06:02Z</updated>
    <published>2012-10-10T20:06:02Z</published>
    <summary type="html">If we install 8.5(3), does the server also need to be on 8.5?
Is there a way to dump all the ref counts ?
I believe the memory leak started with the modified version to obtain statistics.</summary>
    <dc:creator>JACK CHEN</dc:creator>
    <dc:date>2012-10-10T20:06:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7502357" />
    <author>
      <name>David Lender</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7502357</id>
    <updated>2012-10-10T19:44:26Z</updated>
    <published>2012-10-10T19:44:26Z</published>
    <summary type="html">I suggest you install v8.5(3) I have confirmed you can build the C++ Phone with that version and also it includes the fix to the memory leak that was found in 7.5(1).  I could not see any memory growing  in the C++ sample with 8.5(3).

There is no way to force clean-up and there is no threshold.  Memory should be released when the reference count goes to 0.

Do you see a memory leak with C++ Phone with 7.5(2) or just with your modified sample that uses statistics?

Note that the sample is provided as is and is not intended for production use.</summary>
    <dc:creator>David Lender</dc:creator>
    <dc:date>2012-10-10T19:44:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from JACK CHEN in Computer Telephony Integration Object Ser</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7501151" />
    <author>
      <name>JACK CHEN</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7501151</id>
    <updated>2012-10-10T19:07:59Z</updated>
    <published>2012-10-10T19:07:59Z</published>
    <summary type="html">David:  Thank you for the offer.  I may take you up on the offer if I can't figure it out.  So far, I have reverted back to 7.5(1) and upgraded to 7.5(2) and compiling succeeded.
I am trying to track down a memory leak with Arthur.  After the ref counts have decremented to zero what is performing the actual clean-up?  Do you know if there is a way to force the clean-up or if there is a threshold in general?  I'm trying to confirm if there is still a memory leak, because I still see the memory footprint increasing in 7.5(2).</summary>
    <dc:creator>JACK CHEN</dc:creator>
    <dc:date>2012-10-10T19:07:59Z</dc:date>
  </entry>
</feed>

