Here a interesting discussion on the IKS-FISE mailing list about a
OutOfMemoryError on OS X. The same error can occur on Windows.

Cheers,
Manuel
--- Begin Message ---
Hi

You will need to increase the memory of the java vm by using the option -Xmx (e.g. -Xmx512M) maybe you might also need -XX:MaxPermSize (e.g. -XX:MaxPermSize=128M) if ou get OutOfMemoryError related to the PermGen space

best
Rupert


Am 01.07.2010, 12:36 Uhr, schrieb Alessandro Adamou <[email protected]>:

Hi,

I just checked out and managed to compile the latest Clerezza sources (rev 959564) on Mac OS 10.5.8

upon trying to launch the jar I get a number of java.lang.OutOfMemoryError s on the following:

----------

setting log-level to: INFO
starting felix
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
-> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling SLF4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. [SCR Component Actor] INFO org.eclipse.jetty.util.log - jetty-7.1.4.v20100610 [SCR Component Actor] INFO org.eclipse.jetty.util.log - Started [email protected]:8080 Exception in thread "SCR Component Actor" java.lang.OutOfMemoryError: PermGen space Exception in thread "HashSessionScavenger-0" java.lang.OutOfMemoryError: PermGen space

----------

the socket on port 8080 doesn't seem to be created, yet the VM keeps full CPU usage

It doesn't seem to change on whatever heap space I assign. A command like

$ java -jar -Xmx1g org.apache.clerezza.platform.launcher.sesame-0.5-incubating-SNAPSHOT.jar

delivers just the same result.

Can there be anything I am doing wrong? I am running java 1.6.0_20.

Thanks,
Alessandro



|--
| Rupert Westenthaler             [email protected]
| Salzburg Research Forschungsgesellschaft http://www.salzburgresearch.at
| Knowledge Based Information Systems                    +43 662 2288 413
| Jakob-Haringer Strasse 5/II                          Skype-Name: westei
| A-5020 Salzburg
_______________________________________________
Iks-fise mailing list
[email protected]
http://lists.iks-project.eu/cgi-bin/mailman/listinfo/iks-fise

--- End Message ---

Reply via email to