|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#1
|
|||
|
|||
Memory Allocation issue?
Team,
I see the folllowing in line 53 of CppPTSLC_DefaultRequest: // TODO: replace with smart pointer #define SETUP_CALLDATA() CallData* callData = new CallData(); There is a define for FREE_CALLDATA() on line 58, but is never invoked in the code. Is this a likely suspect for the memory leak I have encountered when performing the following code in a timed loop? HTML Code:
while (true) {
PTSLC_CPP::CommandRequest getTransportCommandRequest;
getTransportCommandRequest.commandType = PTSLC_CPP::CommandType::GetTransportState;
std::shared_ptr <PTSLC_CPP::GetTransportStateResponse> gtsr = client->GetTransportState(getTransportCommandRequest);
....
sleep(1);
}
Patrick |
#2
|
||||
|
||||
Re: Memory Allocation issue?
Hi Patrick,
The team here has identified a couple of places with potential memory leak problems, we've been tracking this task as PT-297604. Thanks for bringing this up! Dmytro |
#3
|
|||
|
|||
Re: Memory Allocation issue?
Quote:
I hope you are safe and well. Thank you for helping keep Avid products up and running. Take care! |
#4
|
|||
|
|||
Re: Memory Allocation issue?
Thanks for the acknowledgement. Is there a workaround to the code I posted? Or should I wait for updates?
|
#5
|
||||
|
||||
Re: Memory Allocation issue?
Hi Patrick,
We don't have a specific patch that would fix this yet, though we are looking into it. I recommend waiting until we release an SDK update with a fix. If this is causing a critical failure in your application please let us know. Also, a correction: PT-299612 will be the correct ID for this issue, which is a memory leak on the client app side. Best, Rob
__________________
Rob Majors Avid Software Engineering |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memory allocation | Rectifried | Pro Tools HDX & HD Native Systems (Mac) | 5 | 07-14-2011 08:06 AM |
Memory Allocation 002 PT LE 6.7 | sretepmada | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 2 | 11-02-2007 03:49 PM |
Installation Memory Allocation Issue with Pro Tools Free (Message ID = -6008) | mtbakerstu | Digidesign Hardware & Software | 0 | 02-01-2003 11:35 AM |
DAE memory allocation...HELP! | kalle74 | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 8 | 08-02-2001 03:23 AM |
Memory Allocation | Dinkus | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 4 | 04-20-2001 06:53 AM |