You are not logged in.

#1 2006-09-17 12:29:26

jonathantan86
Member
Registered: 2004-05-02
Posts: 42

jack and oss2jack consume too much memory

This is my free output when I load jack and oss2jack at startup:

             total       used       free     shared    buffers     cached
Mem:        250148     244720       5428          0       5160      67224
-/+ buffers/cache:     172336      77812
Swap:      2449860      66048    2383812

A check in top reveals that jack and oss2jack are the main culprits.

Because of this, I cannot load hydrogen with the ns_kit7free samples (which is 200MB worth of .wav files). It terminates (probably due to trying to access too much memory) when I attempt to switch the drumkit to ns_kit7free. I have managed to load it before, when I was just using ALSA directly. Is there any way to reduce the memory consumption of jack and oss2jack?

I have increased my swap space to > 2GB (as seen in the free output) but it doesn't help.

Offline

#2 2006-09-17 14:53:01

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: jack and oss2jack consume too much memory

can't you just use jack?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#3 2006-09-17 15:37:10

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: jack and oss2jack consume too much memory

What about adding more memory? This doesn't seem to be a software issue so much as a "my computer isn't beefy enough to run the software I want" issue. If jack takes up about 35 meg and you're trying to load 200 meg of samples, I can see where there would be a problem.

Offline

#4 2006-09-18 12:29:58

jonathantan86
Member
Registered: 2004-05-02
Posts: 42

Re: jack and oss2jack consume too much memory

From top's output jack took up 2/3rd of the memory used. About adding more memory, well...it's a laptop so it's difficult to add memory.

But never mind, I'll live with it. I tried the Alsa software mixing system (called dmix on the Arch wiki, it works out of the box for me after I turned off the OSS emulation modules) and it works. And I'm creating a "stub" for composition that loads quickly, and switch to the real drumset when I need to export the .wav.

Offline

#5 2006-09-18 17:47:56

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: jack and oss2jack consume too much memory

jonathantan86 wrote:

From top's output jack took up 2/3rd of the memory used. About adding more memory, well...it's a laptop so it's difficult to add memory.

Well, if this can't be solved and you don't have to use ALSA, try OSS/Commercial (wiki); it has a virtual mixer in kernel-space and supports up to 32 sound output streams smile

Offline

Board footer

Powered by FluxBB