Es geschah am Monday 25 October 2010 als Andrew C schrieb: > Is there a way to see what amount of memory is being used by the > sampler + any samples loaded into memory?
Depends. You can use OS tools like "top" or "ps" of course to see the memory usage of the running sampler. Neither Fantasia, nor QSampler support monitoring the sampler's resource usage though, nor listing the cached samples yet. Both functions are not supported by LSCP either yet. It's only possible to use the sampler's C++ API to iterate through all instruments currently in use by the sampler engines, then one could cast those instrument objects to the respective format specific class (e.g. class gig::Instrument of libgig) and then iterate through its samples. However there is no format-independent way to do that in the C++ API yet. The most inconvenient way probably would be to check what samples are referenced by which instrument (e.g. with gigdump or gigedit, etc.) and then calculating the memory usage manually by using the "preload samples" constant, defined at compile time with configure.in / config.h CU Christian ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel