#5 Fluidsynth - large banks - low memory system

closed
nobody
None
5
2004-06-02
2004-05-30
No

MuSE v. 0.7.pre3 - This is however a Fluidsynth matter - and I
don't know if this is possible to resolve with params to the
Fluidsynth API.

fluidsynth: warning: Failed to pin the sample data to RAM;
swapping is possible.

Before I upgraded my system to 1GB I constantly got this
message in the console. I'm loading large banks (150MB), but
I'm only using a few presets.

Would it be possible to prevent fluidsynth from loading banks
that won't fit in RAM? Does the fluidsynth API provide this
possibility? When Fluidsynth goes into swapping - the system
blocks totally - and deserves more than a simple warning - it's
fatal...

A way to handle large banks on low memory systems would be
just to load the presets of the bank that is in use into RAM. This
is of course handled by the Fluidsynth libs, and I don't know if
the API has methods for controlling this..

Discussion

  • Robert Jonsson

    Robert Jonsson - 2004-06-02
    • status: open --> closed
     
  • Robert Jonsson

    Robert Jonsson - 2004-06-02

    Logged In: YES
    user_id=81832

    Hi,
    And no, I don't think it is possible. :-/

    I have worked around similar issues before by cutting out the
    sounds I don't use with swami, thus reducing the size of the
    soundfont.