Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for macOS

Reply
 
Thread Tools Display Modes
Old 09-14-2012, 07:31 AM   #1
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default Reaper OSX critical memory error

Hi folks

I've been searching the forums, but haven't found a specific answer to this, any help much appreciated.

I'm trying to start mixing a project in Reaper that was tracked in a studio over 5 days into Reaper. It's about 100GB of audio, about 24 channels.

My problem is once I've setup my busses, so still no plugins, I'm getting total crashes in Reaper 32 and even in Reaper 64. I'm getting a critical memory error on playback and If I load a plugin (see attachements)

What I find confusing is that looking at the Apple Activity Monitor application, it says Reaper is using only about 178meg RAM and about 2GB of virtual memory and I have 6GB of RAM in my machine with no other memory hungry apps open.

My instinct is I need more RAM, but Activity Monitor is confusing me, saying I have loads free.

I use Reaper professionally on a daily basis and have never had this instability problem before (although I've never had such a big project). I don't want to split the project into smaller files or tunes as I like to mix this way, 'holistically'. The problem has lasted through the last few Reaper updates, I was hoping there was a fix but today it's still crashing.

My mac spec is 2x2.66GHz Dual Core Intel Xeon, 6GB Ram, 10.6.8 and latest Reaper versions.

Thanks in advance

Alex
Attached Images
File Type: jpg Reaper memory error.jpg (28.1 KB, 509 views)
File Type: jpg RAM.jpg (62.1 KB, 465 views)
AlexB is offline   Reply With Quote
Old 09-14-2012, 08:46 AM   #2
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 12,625
Default

Can you go back to an older version of Reaper that doesn't crash?
You need to identify the point where something changed (when the errors started).

Only 100GB of 24 track data is pretty small for that computer.

Do you keep a backup clone of your tested stable system before trying upgrades?
serr is offline   Reply With Quote
Old 09-14-2012, 08:53 AM   #3
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Thanks for your reply serr.

I should have made clear: this particular project has always crashed on my system, but I've never had any other significant problems with Reaper.

Also, I should have said, a band colleague can play it OK on his newer laptop with 8GB RAM (so project file is not corrupted), unfortunately he's too busy to mix it!

I'm wondering whether anyone can shed any light on this RAM issue with Reaper in OS X - the forums seem to be full with Windows related re assigning memory allocations tips, but you can't do that in OS X to my knowledge and as I've said I can't understand why I'm getting error messages when Activity Monitor say's the computer has over 3GB free RAM.

Thanks again

Alex
AlexB is offline   Reply With Quote
Old 09-14-2012, 09:32 AM   #4
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 12,625
Default

Quote:
Originally Posted by AlexB View Post
Thanks for your reply serr.

I should have made clear: this particular project has always crashed on my system, but I've never had any other significant problems with Reaper.

Also, I should have said, a band colleague can play it OK on his newer laptop with 8GB RAM (so project file is not corrupted), unfortunately he's too busy to mix it!

I'm wondering whether anyone can shed any light on this RAM issue with Reaper in OS X - the forums seem to be full with Windows related re assigning memory allocations tips, but you can't do that in OS X to my knowledge and as I've said I can't understand why I'm getting error messages when Activity Monitor say's the computer has over 3GB free RAM.

Thanks again

Alex
In general you don't have all the complex setup and workarounds the Windows users have to navigate thru so you won't find posts like that for OSX. Not that that helps or anything!

Never worked?
It's almost got to be a corrupted session file or one of the audio files with a corrupted header then. I'd do a test and start from a new session.

I assume at this point you've opened older "known good" sessions and they still work?

Maybe drag the audio files in one or a few at a time to find which one causes the problem (if that theory is correct anyway)?

Sorry to play Dr. Obvious here. I haven't had anything like this come up. I have had corrupted files before which can sometimes lead to strange behavior.
serr is offline   Reply With Quote
Old 09-14-2012, 09:47 AM   #5
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Thanks again:


'Never worked? It's almost got to be a corrupted session file or one of the audio files with a corrupted header then. I'd do a test and start from a new session.'


The original session plays fine until I start to add busses and then the memory errors start happening. Even when I do, my file plays fine on my friends more RAM loaded mac.


'I assume at this point you've opened older "known good" sessions and they still work?'

Yes

'Maybe drag the audio files in one or a few at a time to find which one causes the problem (if that theory is correct anyway)? Sorry to play Dr. Obvious here. I haven't had anything like this come up. I have had corrupted files before which can sometimes lead to strange behavior.[/QUOTE]'

I'm sure the audio is not corrupt as it plays fine on my friend's system. It's this RAM issue I don't understand.

Thanks again.
AlexB is offline   Reply With Quote
Old 09-14-2012, 09:54 AM   #6
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Just to clarify my question again at this point:

Why is Reaper giving me critical memory errors and crashing a particular project with no plugins, when Activity Monitor tells me I have at least 3GB free RAM?

Forgot to say: I have Reaper set to show CPU usage and RAM usage above the transport bar, and it's saying 8% CPU for this project and just over 2GB RAM use (which confusingly contradicts Activity Monitor, see my original image file above!).

Thanks again!

Alex
AlexB is offline   Reply With Quote
Old 09-14-2012, 10:16 AM   #7
valley
Human being with feelings
 
Join Date: Sep 2012
Posts: 24
Default

Quote:
Originally Posted by AlexB View Post
... and just over 2GB RAM use (which confusingly contradicts Activity Monitor, see my original image file above!).
It doesn't. Reaper is telling you one number: how much memory it has allocated. OSX is telling you how this memory is stored: 172MB resides in system RAM, and a little under 2GB resides in virtual memory on your drive.

Depending on how Reaper calculates its own memory usage those numbers will add up to be about the same, but probably not exactly the same.

In theory you have about 3.8GB of free RAM in that screen grab, however if you run Reaper 32 you won't be able to use all of this RAM, as the max addressable space for a 32bit application is 4GB.
valley is offline   Reply With Quote
Old 09-14-2012, 10:29 AM   #8
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Valley, thanks that's helpful, I didn't know that about Activity Monitor.

As you say:

'In theory you have about 3.8GB of free RAM in that screen grab, however if you run Reaper 32 you won't be able to use all of this RAM, as the max addressable space for a 32bit application is 4GB.'

so should still have about 2GB free RAM to play with though (if Reaper is using 2 and 4 is max)? So I still don't understand the critical memory errors!
AlexB is offline   Reply With Quote
Old 09-14-2012, 10:44 AM   #9
valley
Human being with feelings
 
Join Date: Sep 2012
Posts: 24
Default

Quote:
Originally Posted by AlexB View Post
so should still have about 2GB free RAM to play with though (if Reaper is using 2 and 4 is max)? So I still don't understand the critical memory errors!
No, that doesn't make much sense. The alloc failure you posted was for a very small amount of memory also, so old-school issues like fragmentation should even be coming into play here.

You have mail, chrome and worst of all, flash, running in the background. Under any circumstances you should avoid that if you can. I don't see why this mix is causing you problems though, or why it works on another 8GB system.

From you first post it also sounds like Reaper 64 is having the same issue. If the 64bit Reaper is crapping out at about the same place then it's also unlikely to be straight memory starvation, as the 64 bit version can gain access to more of that floating RAM.

My gut feeling, but this is one for the Reaper team, is that Reaper is doing internal memory management, and there's something not quite right going on in there. The 8GB system might just be side-stepping the problem. I can't think of a good analogy off the top of my head so this rather odd one will have to do:

Imagine you have a glass patio door. It opens plenty wide enough for your slightly obese, and rather short sighted dog to get through, but the dog tends to walk into the glass rather than the opening. Putting a bigger patio door in appears to solve the problem 'cos the mutt is now much less likely to smack its head, but it doesn't actually address the underlying problem, namely short-sightedness, and an inability to detect glass.
valley is offline   Reply With Quote
Old 09-14-2012, 11:12 AM   #10
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Quote:
Originally Posted by valley View Post

'You have mail, chrome and worst of all, flash, running in the background. Under any circumstances you should avoid that if you can.'
Roger that
Quote:
Originally Posted by valley View Post
'I don't see why this mix is causing you problems though, or why it works on another 8GB system.'
It is strange. As I say I've never had any Reaper problems before either.
Quote:
Originally Posted by valley View Post
'From you first post it also sounds like Reaper 64 is having the same issue. If the 64bit Reaper is crapping out at about the same place then it's also unlikely to be straight memory starvation, as the 64 bit version can gain access to more of that floating RAM.'
Yes, the 64bit version seems to last a bit longer before crashing, but after adding 1 plugin (a cockos limiter) the memory errors started again.Also, I don't really want to use the 64bit version to be honest, I mix with UAD stuff (though it's not responsible for any of these problems I hasten to add)
Quote:
Originally Posted by valley View Post
'My gut feeling, but this is one for the Reaper team, is that Reaper is doing internal memory management, and there's something not quite right going on in there. The 8GB system might just be side-stepping the problem. I can't think of a good analogy off the top of my head so this rather odd one will have to do:

Imagine you have a glass patio door. It opens plenty wide enough for your slightly obese, and rather short sighted dog to get through, but the dog tends to walk into the glass rather than the opening. Putting a bigger patio door in appears to solve the problem 'cos the mutt is now much less likely to smack its head, but it doesn't actually address the underlying problem, namely short-sightedness, and an inability to detect glass.'
That's made me smile, thanks for that! I hope the Reaper team might read this and shed some light? I'm not aware of any further setting I can tweak within Reaper to help?
AlexB is offline   Reply With Quote
Old 09-15-2012, 02:24 AM   #11
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Also, I forgot to say just as an experiment I tried running this project off a lower spec laptop (2.4 Intel Core Duo 4 gig RAM) and also get out of memory errors on attempted playback (with similar Activity Monitor usage, so there still should be some RAM free), so to me that feels like a Reaper problem rather than something specific with my mixing computer. Also, we think that the iMac in the studio started having playback issues by the end of the session too but I can't verify that.

I really need to get this project working to mix, so I might buy more RAM (bigger patio doors!) just as a less than ideal workaround and see if it helps.

Any more ideas welcome!
AlexB is offline   Reply With Quote
Old 09-24-2012, 03:56 PM   #12
mrelwood
Human being with feelings
 
mrelwood's Avatar
 
Join Date: Nov 2006
Location: Finland
Posts: 1,528
Default

Don't know if any of this will help, but I would try:

- Reaper > Preferences > General > "Warn when Reaper's memory usage reaches ____ megabytes".
- Try 5000 and 0.

What media format are you using by the way? 24bit 44.1KHz wav or heavier?

Also check and report the block size in Preferences > Audio Device. I get least problems if I have the both "Requests" checked, SR at 44100 and block size from 96 to 1024, depending on what I'm doing.
__________________
______Announcing__mrelwood plugins______
.. MacBook Pro 16" Late '19 .. Scarlett 6i6, Saffire Pro 24 DSP (+ADA8000) .. FCA610 .. EVE SC207 .. Focal: Shape 65, Alpha 65, CMS 40, Listen Pro ..
mrelwood is offline   Reply With Quote
Old 09-26-2012, 02:49 AM   #13
AlexB
Human being with feelings
 
Join Date: Aug 2011
Posts: 14
Default

Quote:
Originally Posted by mrelwood View Post

- Reaper > Preferences > General > "Warn when Reaper's memory usage reaches ____ megabytes".
- Try 5000 and 0.
Thanks, I tried 0 and 6000 and still got errors and crashes with both

Quote:
Originally Posted by mrelwood View Post
What media format are you using by the way? 24bit 44.1KHz wav or heavier?
24/44

Quote:
Originally Posted by mrelwood View Post
Also check and report the block size in Preferences > Audio Device. I get least problems if I have the both "Requests" checked, SR at 44100 and block size from 96 to 1024, depending on what I'm doing.
Same here, 44k 1024.

In the end I've had to find a workaround, I've split the project into two halves (deleting half the audio files in each). It's working fine now using about 1gb RAM in each. However, I can't help thinking something fishy is going on with Reaper's internal memory management on OSX for all the above reasons.
AlexB is offline   Reply With Quote
Old 02-05-2015, 05:09 PM   #14
amenbrother
Human being with feelings
 
amenbrother's Avatar
 
Join Date: May 2006
Posts: 143
Default

Any news on this issue. We have the same issue on a macbook pro 2012. 16 gb ram. 32 Reaper. Quite loaded project, but still plenty of ram, and cpu around 50%.

Cheers
amenbrother is offline   Reply With Quote
Old 02-05-2015, 09:19 PM   #15
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

Quote:
Originally Posted by amenbrother View Post
Any news on this issue. We have the same issue on a macbook pro 2012. 16 gb ram. 32 Reaper. Quite loaded project, but still plenty of ram, and cpu around 50%.

Cheers
If you get this error and are not out of RAM/address space, it could also be that a plug-in (or less likely, REAPER itself) is corrupting the heap. You could try running your plug-ins in bridged/firewalled mode, and see if that helps. If it does, you could bring back plug-ins one at a time to determine which plug-in is causing the issue.
Justin is offline   Reply With Quote
Old 02-06-2015, 01:10 AM   #16
amenbrother
Human being with feelings
 
amenbrother's Avatar
 
Join Date: May 2006
Posts: 143
Default

Quote:
Originally Posted by Justin View Post
If you get this error and are not out of RAM/address space, it could also be that a plug-in (or less likely, REAPER itself) is corrupting the heap. You could try running your plug-ins in bridged/firewalled mode, and see if that helps. If it does, you could bring back plug-ins one at a time to determine which plug-in is causing the issue.
Will try,

Cheers Justin.
amenbrother is offline   Reply With Quote
Old 02-06-2015, 10:26 AM   #17
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 12,625
Default

Quote:
Originally Posted by amenbrother View Post
but still plenty of ram
Yeah... Then you're not out of RAM.**

Try approaching this as a misbehaving plugin issue. And some misbehaving plugins in Reaper only start misbehaving when the system use is higher than X.

Check this out if you haven't already: http://forum.cockos.com/showpost.php...54&postcount=5


** Not trying to be a smartass here. Activity Monitor is literally my telltale for misbehaving plugin. Buffer underruns and/or other mayhem? System not maxed? Then it's a plugin. 100% correct every time. And to date, disabling AfxP on every track with a 3rd party plugin inserted works every time.

Last edited by serr; 02-06-2015 at 10:35 AM.
serr is offline   Reply With Quote
Old 02-09-2015, 12:18 AM   #18
amenbrother
Human being with feelings
 
amenbrother's Avatar
 
Join Date: May 2006
Posts: 143
Default

Info, and
One question,
If I run reaper32 I have this problem, but in Reaper64 I dont. Is there a memory restriction on Reaper32, even if your running it on OSX64. Seems like When approaching 3.2, 3.4 gb ram Reaper crash despite all actions made, but in Reaper64 the the project runs nice, and I can still add files, and vst/au(i).

On some projects it seems like the fx behave differently on 64 compared to 32.
amenbrother is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT -7. The time now is 09:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.