• SONAR
  • "there is not enough memory available" prompt when utilizing samson keyboard
2017/04/24 01:05:07
dontayoutouch
Hi,
 
I have I have a 2009 Windows 7 Home premium OS running on a 64-bit Hewlett Packard desktop. An Intel i7 CPU and 7 GB of available RAM.
 
When I try to connect my copy of SONAR Pro with a Samson keyboard I get a prompt that says "there is not enough memory available" under the MIDI preferences in SONAR Pro.
 
Unfortunately, Samson support had "never seen this before".
 
 
 
I have seen some ramblings on the web.
 
One issue being changing Google "Chrome MIDI" settings but I found no such settings in my latest Chrome version when I followed the directions in that web post dated 7 mos. ago.
 
The other post was due to "cheap (music) keyboards".
 
*A key factor here is that I have used the Samson Graphite M25 keyboard before with SONAR Pro and it played without the issue I am asking for help with today.
 
 
Does anyone here have any experience with this?
 
 
Thank you.
 
Sincerely,
 
JWP
2017/04/24 02:05:11
eikelbijter
Basically it means the Midi port is already being used by something else, another application or something in the OS..
 
R
2017/04/24 06:39:45
Tim Flannagin
Make sure that you don't have another program which acceses your MIDI driver open at the same time. For instance, I get the message if the Arturia MIDI Control Center is opened at the same time Cakewalk is being opened.
2017/04/24 16:32:36
riojazz
I get this memory message starting SONAR Platinum with my iRig37 connected as my MIDI input device.  This is very annoying since I can just add an instrument track and the iRig works fine.
 
There are two other MIDI input devices showing in Edit, Preferences: one for my computer's name used by DAW HD Remote, and one for my Behringer X-Touch.  But it won't let me add the iRig37.
 
I do have several MIDI-related files open, such as rptMIDI used by DAW HD Remote.  Also Bonjour is running.  Would either of those be the cause? 
 
2017/04/24 16:35:32
Anderton
Check out this article about the MIDI Port problem, which persisted in Windows 7 but was fixed in Windows 10. Don't know if it's at the root of your issue but it's easy enough to find out.
2017/04/24 17:33:16
emwhy
I've had this problem with USB MIDI devices, but it has occurred after a crash and when there were still instances SONAR running in Task Manager. It was an M Audio device that wouldn't release after SONAR was shut down forcibly. Had to reboot to clear it up.
 
 
 
2017/04/24 17:35:44
BobF
I've been using a Graphite 49 off/on for at least 2, maybe 3 years.  I've never seen this with the G49 or any other MIDI device.
2017/04/25 12:24:31
frragnarsson
If you are using class compliant controller (no driver needed), yes, it might be Goggle Chome that is interfering.
The following might work but doesn't always work:
 

Go to advanced settings".
In "Privacy" section, click "Content settings".
 In "MIDI devices and full control" section, check "Do not allow any sites to use system exclusive messages to access MIDI devices".
 
If it doesn't, try to have Chrome closed when you open Sonar (you can open it afterwards), particularly after restarting Windows.
 
If it isnt Chrome, you will need to go to device manager, enable "show hidden devices" and delete excessive midi devices. If you are using virtual midi devices, it happens a lot. An issue that was supposedly fixed in Windows XP, isn't quite fixed yet, not even in Windows 10.
 
 
2017/04/25 13:01:37
loopyd
Wat?  Chrome's looking at our MIDI data now?  Google you're such a stalker.
 
emwhy
I've had this problem with USB MIDI devices, but it has occurred after a crash and when there were still instances SONAR running in Task Manager. It was an M Audio device that wouldn't release after SONAR was shut down forcibly. Had to reboot to clear it up.



This will do what Task Manager can't, avoiding the reboot:  http://processhacker.sourceforge.net/
The option you explicity need that Windows 7 lacks is the ability to kill the entire process tree of Cakewalk in the event of a crash.  It kills everything Cakewalk had spawned and left open in the process, including any hanging threads.
 
Whats nice is the kernel mode driver that allows you to do this.  I use process hacker over task manager any day.  You can straight up replace it as the crash handler, which is nice.
 
To the OP if you have an antivirus suite with a game mode like IOBit ASC, or even an Nvidia driver with a game mode, set the DAW as a game.  All the background crap except what you whitelist and need dissapears while your DAW runs.  If you do it through an antivirus suite you get the added benefit of it running on the secure desktop too, which means everything gets highest thread priority.
 
Steam and Discord shows me playing Cakewalk or GIMP.  But I don't care it works.  Albait a hack but it works.
2017/04/25 16:15:32
abacab
dontayoutouch
Hi,
 
I have I have a 2009 Windows 7 Home premium OS running on a 64-bit Hewlett Packard desktop. An Intel i7 CPU and 7 GB of available RAM.
 
When I try to connect my copy of SONAR Pro with a Samson keyboard I get a prompt that says "there is not enough memory available" under the MIDI preferences in SONAR Pro.
 
Unfortunately, Samson support had "never seen this before".
 
I have seen some ramblings on the web.
 
One issue being changing Google "Chrome MIDI" settings but I found no such settings in my latest Chrome version when I followed the directions in that web post dated 7 mos. ago.
 
The other post was due to "cheap (music) keyboards".
 
*A key factor here is that I have used the Samson Graphite M25 keyboard before with SONAR Pro and it played without the issue I am asking for help with today.
 
Does anyone here have any experience with this?
 
Thank you.
 
Sincerely,
 
JWP




I have experienced this with one keyboard that I have that only uses the Windows class compliant USB-Audio device driver.
 
Apparently this is a single client driver only and the next app (client) that tries to use it concurrently will throw an error.  You will need to find out what is using it, and possibly reboot to clear it up, if you cannot stop the task.
 
My other MIDI controllers have manufacturer supplied USB MIDI drivers that are multi-client.  These can be shared among several open apps at the same time.
 
Class Compliant Drivers versus Manufacturer Specific Drivers
 
"Class compliant drivers are convenient because you don't have to download any external software.  But often manufacturer specific drivers provide added functionality ...
 
So if you purchase a MIDI or Audio interface you should always check the product manual and manufacturer's website to see if there is a dedicated USB driver for your product that provides added functionality."
 
https://www.midi.org/articles/basic-of-usb
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account