[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] newbie Linux Ubuntu Studio SwingOSC and 3rd party plugins problem



the -Xmx option specifies the maximum java heap size, so -Xmx64m means "up to 64 megabytes". to my knowledge 64 MB is default so it doesn't make too much sense to add it. you can check the current maximum heap using

g.sendBundle( nil, [ '/print', '[', '/local', \tmp, '[', '/methodr', '[', '/method', 'java.lang.Runtime', \getRuntime, ']', \maxMemory, ']', ']' ], [ '/free', \tmp ]);

(print out is in bytes)

A too low maximum heap is typically indicated by java.lang.OutOfMemoryException printouts. In that case i recommend to double the maximum heap, e.g. -Xmx128m. Typically high memory consume comes from huge bitmap images / offscreen images, like maybe a lot of JSCSoundFileView instances ?

i'm happy with my default heap ;-)

ciao, -sciss-


Am 22.10.2007 um 21:53 schrieb David Hughes:

alright again.

i've just tried again i think i missed something out of the path . i've booted swingOSC and recived this message, which i believe to be a server boot.

a SwingOSC
booting /usr/lib/jvm/java- 6-sun-1.6.0.00/jre/bin/java -Xmx64m - jar /home/mrmrshoes/SwingOSC/build/SwingOSC.jar -t 57111 -L -i
SwingOSC v0.56. receiving TCP at address 127.0.0.1:57111

How come you add -Xmx64m to the java point?
I was also wondering if you could tell me would i have to access lpconfig and put the path of the compiled sc3-plugins. would i just add /usr/share/SuperCollider/Extensions to the config file

thanks for your help

david


I guess i've got a lot to learn.


On 10/22/07, David Hughes <mr.mr.shoes@xxxxxxxxxxxxxx> wrote: Hia,
       here are the permissions i get from the terminal

mrmrshoes@wlan-057:~$ ls /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java - lah lrwxrwxrwx 1 root root 15 2007-10-19 22:25 /usr/lib/jvm/java-6- sun-1.6.0.00 /bin/java -> ../jre/bin/java


cheers


On 10/22/07, nescivi < nescivi@xxxxxxxxx> wrote: Hi,

Can you execute the exact same line from the command line to start SwingOSC?

What are the permissions on java?
(e.g.:
ls /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/bin/java -lah
fill in the right path to your sun-java executable).

sincerely,
Marije

On Monday 22 October 2007 20:43:20 David Hughes wrote:
> Hia Marije
>
> I've added the path to sun java bin but i'm still getting permission errors
> should i be putting exe. permissions in the line?
>
> cheers
>
> On 10/22/07, nescivi <nescivi@xxxxxxxxx> wrote:
> > Hiho,
> >
> > On Monday 22 October 2007 19:55:58 David Hughes wrote:
> > > I have copied SwingOSC SCClassLibrary files to
> > > /usr/share/SuperCollider/Extensions and the help files to
> > > /usr/share/SuperCollider/Help
> > >  and added the lines to .sclang.sc
> > > Server.program = "/usr/bin/scsynth";
> > > SwingOSC.program ="/home/mrmrshoes/SwingOSC/build/SwingOSC.jar";
> > > but i'm receving permissions errors when booting the server and it is
> > > failing to start.
> >
> > the path to SwingOSC.program must contain the whole command to start the
> > java
> > application, so the path to the java program, followed by the jar-file
> > that
> > should be run. For example for me it is:
> >
> > SwingOSC.program
> > = "/usr/lib/jvm/java-1.5.0-sun/jre/bin/java -Xmx64m -jar
> > /home/nescivi/Downloads/SwingOSC/build/SwingOSC.jar";
> >
> > sincerely,
> > Marije
> > _______________________________________________
> > sc-users mailing list
> > sc-users@xxxxxxxxxxxxxxx
> > http://www.create.ucsb.edu/mailman/listinfo/sc-users


_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users


_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users