Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Legacy Products > Pro Tools 12
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2016, 09:56 PM
ramonetl ramonetl is offline
Member
 
Join Date: Jan 2011
Location: Seattle
Posts: 302
Default CPU errors during playback resolved by clearing up memory.

Hey guys, I just wanted to post something I discovered. I recently was working a project with not a lot of tracks and only a couple VSTs. I got one of the innocuous CPU errors and usually I would close and restart protools to continue. Out of suspicion I checked my cpu utilization (mbpro retina quad core 16gb ram early 2013) and it was barely stressed. What I did notice was that I was nearly out of ram. So I tried a couple times to restart the playback with same error. Then I used a utility to free up ram and it went away. As an IT guy this got me to thinking that what is really happening is that you are having memory constraint issues and PT is reporting that as a cpu fault. Now mind you I am a windows admin not linux so I cant dig into that like I could on a MS system but I do think that its a ram bottleneck that is causing a lot of the "cpu" errors. Worth looking into for those of you with lots of cpu error crashes. YMMV. Peter
Reply With Quote
  #2  
Old 04-04-2016, 10:57 PM
WilliebSR WilliebSR is offline
Member
 
Join Date: Feb 2014
Location: Virginia
Posts: 96
Default Re: CPU errors during playback resolved by clearing up memory.

Hi, Is there a scenario where something's grabbing and holding RAM and that's not being reported in Task Manager?
Reply With Quote
  #3  
Old 04-04-2016, 11:35 PM
lesbrunn's Avatar
lesbrunn lesbrunn is offline
Member
 
Join Date: Feb 2002
Location: Accra, Ghana
Posts: 1,147
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by ramonetl View Post
Hey guys, I just wanted to post something I discovered. I recently was working a project with not a lot of tracks and only a couple VSTs. I got one of the innocuous CPU errors and usually I would close and restart protools to continue. Out of suspicion I checked my cpu utilization (mbpro retina quad core 16gb ram early 2013) and it was barely stressed. What I did notice was that I was nearly out of ram. So I tried a couple times to restart the playback with same error. Then I used a utility to free up ram and it went away. As an IT guy this got me to thinking that what is really happening is that you are having memory constraint issues and PT is reporting that as a cpu fault. Now mind you I am a windows admin not linux so I cant dig into that like I could on a MS system but I do think that its a ram bottleneck that is causing a lot of the "cpu" errors. Worth looking into for those of you with lots of cpu error crashes. YMMV. Peter
Not many tracks or VST's...by that do you mean VI's or wrapped VST's? Were you using lots of other plugins? Which ones? I'm interested because I experienced a lot of that some time ago. It would sometimes resolve itself when I trashed prefs and restarted. Very strangely, this and other weird stuff stopped when I started using an SSD for system, audio and samples.

I know it's difficult to tell without a serious investigation and a Sandra report, but what do you think could be holding on to the ram?

Leslie
Reply With Quote
  #4  
Old 04-05-2016, 05:57 AM
audiobob's Avatar
audiobob audiobob is offline
Member
 
Join Date: Nov 2001
Location: Houston
Posts: 1,001
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by ramonetl View Post
Then I used a utility to free up ram and it went away
What app did you use?
Reply With Quote
  #5  
Old 04-06-2016, 03:49 PM
ramonetl ramonetl is offline
Member
 
Join Date: Jan 2011
Location: Seattle
Posts: 302
Default Re: CPU errors during playback resolved by clearing up memory.

Hi the app I used was clean my mac 3. Yeah I know sounds cheesy but I tried it and found that I actually like it for hunting down junk. That said I had no idea it did memory or unresponsive apps but it did that and I have used it to kill processes and free memory while tracking. Like anything YMMV but its saved me from having to restart PT several times.
Reply With Quote
  #6  
Old 04-06-2016, 03:52 PM
ramonetl ramonetl is offline
Member
 
Join Date: Jan 2011
Location: Seattle
Posts: 302
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by WilliebSR View Post
Hi, Is there a scenario where something's grabbing and holding RAM and that's not being reported in Task Manager?
Not really sure bc since this is mac there is no task manager like windows. I can look in the activity monitor but it doesnt display stuff nicely like the windows one does. Its mostly stuff getting loaded and possibly not unloaded but often when this happens itll show only a few hundred free in my app and when I clear freeup memory it suddenly has 5-6gb more and the errors disappear and i keep on tracking. Im primarily a windows guy and only have a mac bc PT is more catered to it and compatibility with other folks who i collaborate so Im not an expert on that by any means. I know osx is essentially a variant of some linux so anyone who is down with that OS could probably do a lot more digging.
Reply With Quote
  #7  
Old 04-06-2016, 03:55 PM
ramonetl ramonetl is offline
Member
 
Join Date: Jan 2011
Location: Seattle
Posts: 302
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by lesbrunn View Post
Not many tracks or VST's...by that do you mean VI's or wrapped VST's? Were you using lots of other plugins? Which ones? I'm interested because I experienced a lot of that some time ago. It would sometimes resolve itself when I trashed prefs and restarted. Very strangely, this and other weird stuff stopped when I started using an SSD for system, audio and samples.

I know it's difficult to tell without a serious investigation and a Sandra report, but what do you think could be holding on to the ram?

Leslie
Im referring to instrument tracks with a VST like EzKeys or EZDrummer loaded. Then I also run plugins like waves api560 or ezmix as inserts on the audiotracks. I tend to get the vst parts the way I want them, track em to individual audio tracks and then inactivate the instrument tracks and hide em once I dont need them anymore. I figure it keeps the resource usage lower.
Reply With Quote
  #8  
Old 04-06-2016, 05:58 PM
ArKay99 ArKay99 is offline
Member
 
Join Date: Mar 2010
Location: Cape Coral, FL
Posts: 810
Default Re: CPU errors during playback resolved by clearing up memory.

Sounds like memory leaks.
__________________
Mac Pro 6.1, E5-2690 V2 10 core 3.0G, 32gig 1866 memory, 512G PCIe system drive, 4 480G OWC 3G SSD data drives in Thunderbolt 2 enclosure, macOS 10.15.7, Pro Tools Ultimate 2020.9.1, Twin Raven MTi's, Apollo 8 TB, 2 UAD2 Satellite Octo Thunderbolt, RME ADI-4 DD, Neve 5012, 5043, Bricasti M7, 2 PCM 92's, M350, DynAudio BM6 MK 3, BM14S, a bunch of cool mics...1 damned iLok2.
Reply With Quote
  #9  
Old 04-07-2016, 02:29 AM
WilliebSR WilliebSR is offline
Member
 
Join Date: Feb 2014
Location: Virginia
Posts: 96
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by ArKay99 View Post
Sounds like memory leaks.
If its memory leaks, placing all 3rd party plug ins in the unused folder should make it go away right? So... what if it doesn't go away?
Reply With Quote
  #10  
Old 04-07-2016, 08:36 AM
ArKay99 ArKay99 is offline
Member
 
Join Date: Mar 2010
Location: Cape Coral, FL
Posts: 810
Default Re: CPU errors during playback resolved by clearing up memory.

Quote:
Originally Posted by WilliebSR View Post
If its memory leaks, placing all 3rd party plug ins in the unused folder should make it go away right? So... what if it doesn't go away?
Not if the memory leaks are in Avid's code. I don't run Pro Tools on Windows, so I don't have a Task Manager like program to track memory in real time. There are also page faults that could be building up and causing memory fragmentation. Just spitballing here, but I've done a fair amount of programming and a lot of maintenance coding and memory fragmentation is one of the most insidious issues in software coding.
__________________
Mac Pro 6.1, E5-2690 V2 10 core 3.0G, 32gig 1866 memory, 512G PCIe system drive, 4 480G OWC 3G SSD data drives in Thunderbolt 2 enclosure, macOS 10.15.7, Pro Tools Ultimate 2020.9.1, Twin Raven MTi's, Apollo 8 TB, 2 UAD2 Satellite Octo Thunderbolt, RME ADI-4 DD, Neve 5012, 5043, Bricasti M7, 2 PCM 92's, M350, DynAudio BM6 MK 3, BM14S, a bunch of cool mics...1 damned iLok2.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newly imported or recorded audio playback problems - Pro Tools 8.04 [RESOLVED] Protools8matt macOS 5 08-06-2014 09:33 AM
CPU Errors at 50-55% [RESOLVED] WorldOfNoise macOS 19 07-02-2014 09:44 AM
PT10.3.3 - Win7 - 9172 - Clearing Memory Cache flawlessempire Windows 0 03-06-2013 07:28 PM
[RESOLVED] Unable to rectify error 'Current Playback Engine doesn't support 44.1 kHz' Dave Ray Pro Tools SE and Essential (Mac) 1 09-25-2011 08:34 AM
Memory Errors swpowe 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 1 01-16-2003 09:20 AM


All times are GMT -7. The time now is 10:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com