Fix “Not Enough Memory Available” in MIDI-OX

“There is not enough memory available for this task” is one of the most misleading messages in MIDI-OX. Your computer almost certainly has plenty of RAM — modern machines have thousands of times more memory than this 32-bit program from the Windows XP era can even address. The message belongs to a specific error class: MIDI-OX, or the Windows MIDI driver underneath it, could not allocate the buffers it needs to open a port or to receive a SysEx transfer. This guide explains the trade-off that causes it and the order to fix it in. Keep the tutorials hub handy, and if you need a fresh install, use the MIDI-OX download page.

Why a memory error is rarely about memory

When MIDI-OX opens a MIDI input, it asks the driver to queue a set of low-level buffers so incoming data always has somewhere to land. When you open the SysEx window, it allocates further buffers sized by your Configure settings. If that allocation fails — because the requested combination is too large for the driver to satisfy, because the port is already claimed by another program, or because a previous session left the driver in a bad state — Windows reports a generic memory error and MIDI-OX repeats it. The same message can appear when you try to open a device, when a dump starts, or when a very large dump is already in progress. Each timing points at a slightly different fix, below.

The buffer trade-off at the heart of it

Buffer count and buffer size multiply together, and both directions can hurt you. Too few or too small buffers, and a fast dump overruns them — that produces the sibling error covered in our “No Buffers Available” fix. Too many very large buffers, and the allocation request itself can fail on older drivers, especially while other applications are also holding MIDI resources. The answer is not “maximum everything”. The answer is a balanced recipe that gives SysEx transfers generous room without making unreasonable demands of the driver.

The buffer recipe to apply

Open MIDI-OX, open the SysEx window from View > SysEx, then choose SysEx > Configure. Set exactly this as your starting point:

  • Low-Level Input: 16 buffers × 1024 bytes
  • Low-Level Output: 32 buffers × 256 bytes
  • Delay After F7: start at 60 ms, and raise it for slower instruments
  • Delay Between Buffers: use this as an additional throttle when a device still cannot keep up

These numbers are a tested starting recipe, not a maximum. The sections below explain when to adjust them and when the problem is somewhere else entirely.

Step by step

Step 1 — Restart clean. Close MIDI-OX and every other MIDI-aware program, including DAWs, editors and browser tabs with Web MIDI access. If the error appeared after a long session or a crashed program, restart Windows as well. A surprising share of these errors are a driver left in a stuck state, and a clean start is the cheapest test you will ever run.

Step 2 — Open fewer devices. In Options > MIDI Devices, deselect inputs and outputs you are not using for this task, then open only the one interface and port you need. Every open port consumes buffers; opening everything “just in case” works against you here.

Step 3 — Apply the balanced recipe. Set the values from the recipe above exactly. If you had previously pushed buffer counts or sizes far beyond them while chasing another error, bring them back — oversized settings are a common self-inflicted cause of this exact message.

Step 4 — Work in smaller chunks. Request a single patch before a bank, and a bank before a full memory dump. If small transfers succeed and large ones fail, split the job: back up bank by bank. Smaller chunks need fewer buffers in flight at once and are kinder to slow instruments.

Step 5 — Slow the sender down. Raise Delay After F7 from the 60 ms starting point in steps, and add Delay Between Buffers as an additional throttle. A device that is given time to write each message to its own memory stops overwhelming the receiving side.

Reading the timing of the error

Error as soon as you select a device: the port-open allocation is failing. Suspect another program holding the port, a stuck driver (restart), or far too many devices selected. Error when a dump starts: your SysEx buffer settings are the first suspect — reset them to the recipe. Error mid-dump: the transfer outran the buffers; add delay, then transfer in smaller chunks. This timing test takes a minute and points you at the right section of the full SysEx buffer settings guide instead of guessing.

What not to do

Do not respond to this error by buying RAM, closing unrelated desktop programs, or reinstalling Windows. Do not keep doubling buffer sizes after each failure — beyond the recipe, larger requests make the allocation problem worse, not better. And do not run two MIDI utilities against the same port while you test; you cannot tell which program a result belongs to. MIDI-OX remains freeware for non-commercial use (commercial use needs a paid licence after the 30-day trial), and while it is user-reported to run on Windows 10 and 11, that is not an official support promise — methodical isolation of one variable at a time is how you get a reliable result on a modern system.

Similar Posts