I get a memory error when trying to create a sf::SoundBuffer:
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
That's before I try to load from a file. It even happens when this is the only code:
sf::SoundBuffer buf;
Besides this problem, I've been trying to understand why SFML uses jack server to output audio, but I can't find any useful information on that topic (I use Ubuntu 17.10)