Out of Memory

Author
sleddog2
Max Output Level: -90 dBFS
  • Total Posts : 3
  • Joined: 2011/03/14 10:26:16
  • Status: offline
2011/03/14 10:55:15 (permalink)

Out of Memory

Sonar 8.5.3 on Windows 7 64bit.
M-Audio 2626  using ASIO4ALL drivers since the m-audio drivers are worthless (BSOD city!) Only a trip to m-audio's forum clarifies this statement.
 
 
While loading a project (32 bit Sonar), If you are getting "Out of memory" errors and also Microsoft Visual C++ runtime errors, here's how I fixed my issue.
 
Well, after uninstalling a lot of plugins and pulling my hair out, not to mention expanding my vocabulary, it did turn out to be a plugin.
 
A while back in another project which had maybe two instances of auto-tune EVO running, I had increased the buffer size in auto-tunes options menu.
This option allows you to define the amount of memory the plugin sets aside to capture audio. 
 
Well, the project that was getting these errors had over 15 instances (or more. LOL!) of auto-tune.  So it was allocating additional memory for each auto-tune instance
 which caused the memory errors. It was set to 5000. I changed it to 100 and all is well.  Of course I had to load autotune from a new project and change the setting there.
 Now my original project loads fine!
 
Question:
Originally, I was not sure if this was truely a memory error.  I have 12GB of ram and Windows shows 7GB free.
I'm sure it has something to do with Windows 32bit paging memory.  I have my virtual memory set to over 24GB.
How come Sonar did not utilize my virtual memory once it hit the 32bit memory limit?
 
 
 
 
#1

2 Replies Related Threads

    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Out of Memory 2011/03/14 11:45:11 (permalink)
    32-bit SONAR can only allocate a total of 2GB for itself and all plugins, which share the host's address space. This is regardless of how much virtual memory you have available. Virtual memory allows you to have many programs running, each of which can allocate up to 2GB. What it doesn't do is get around the 2GB limitation for any one of them.


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #2
    sleddog2
    Max Output Level: -90 dBFS
    • Total Posts : 3
    • Joined: 2011/03/14 10:26:16
    • Status: offline
    Re:Out of Memory 2011/03/14 13:31:45 (permalink)
    Thanks bitflipper.
     
    I just found microsoft's table on memory verses platform:
    http://msdn.microsoft.com/en-us/library/aa366778(v=vs.85).aspx

    It mentions the 2GB limitation in 32bit and  with up to 3 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE and 4GT.

    It also mentions using 64bit Windows
     with IMAGE_FILE_LARGE_ADDRESS_AWARE set it allows up to 4GB.
    (I believe this is set by default for 64bit)

     
    #3
    Jump to:
    © 2024 APG vNext Commercial Version 5.1