An alternative solution to patching the kernel is to add a line to the 
bootloader excluding all but 2GB of RAM whenever you're going to be using MIDI. 
 I got this idea from reading the forum at 
http://ubuntuforums.org/showthread.php?t=1340309
 and have confirmed that it works.  I have 8GB of RAM and a SoundBlaster Audigy 
2 ZS card.

I'm using the version of GRUB that comes with Ubuntu 12.04.  I pressed
"e" at the boot loader screen to add custom options and, after the word
"splash", added the line "memmap=2048M\\$6144M " with no quotes. I've
confirmed that I'm able to load a SoundFont of in excess of 100MB with
no problem whereas previously I got the error message.  MIDIs play fine
with the large SoundFont in Rosegarden.

This is a kludge, but at least it's not modifying a system-wide kernel
variable.  Note that when you boot up with that option, your system will
of course think that it only has 2GB of RAM.

Many thanks to sdowney717 for coming up with this solution in a
different context.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/183456

Title:
  Trying to load a sf2 file with asfxload returns "sfxload: no memory
  left"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awesfx/+bug/183456/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to