incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Strässer (JIRA) <j...@apache.org>
Subject [jira] Commented: (CLEREZZA-190) Clerezza + Apchae Felix 2.0.4 very slow & out of memory
Date Wed, 14 Apr 2010 07:54:49 GMT

    [ https://issues.apache.org/jira/browse/CLEREZZA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856785#action_12856785
] 

Oliver Strässer commented on CLEREZZA-190:
------------------------------------------

With the launcher  org.apache.clerezza.platform.launcher.sesame-0.5-incubating-20100413.192359-35.jar
- the exception is thrown at the startup, while I enter "ps" and the bundles are listed

-> [SCR Component Actor] INFO org.apache.clerezza.triaxrs.JaxRsHandler - Unbinding bundle
prefix manager
[SCR Component Actor] INFO org.apache.clerezza.triaxrs.prefixmanager.TriaxrsPrefixManager
- Unbinding configuration admin
[SCR Component Actor] INFO org.apache.clerezza.triaxrs.prefixmanager.TriaxrsPrefixManager
- Binding configuration admin
[SCR Component Actor] INFO org.apache.clerezza.triaxrs.JaxRsHandler - Binding bundle prefix
manager
[SCR Component Actor] INFO org.apache.clerezza.triaxrs.JaxRsHandler - Bind component of bundle
org.apache.clerezza.platform.typehandlerspace

->
->
->

-> ->
-> ps
START LEVEL 5
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.4)
[   1] [Resolved   ] [    1] Clerezza - Platform Security Conditions (0.5.0.incubating-SNAPSHOT)
[   2] [Active     ] [    2] Clerezza - Platform Security (0.8.0.incubating-SNAPSHOT)
[   3] [Active     ] [    2] Apache Felix Bundle Repository (1.6.0)
[   4] [Active     ] [    2] Apache Felix Configuration Admin Service (1.2.4)
[   5] [Active     ] [    2] Apache Felix EventAdmin (1.2.2)
[   6] [Resolved   ] [    2] Apache Felix Security Provider (1.0.0)
[   7] [Active     ] [    2] Apache Felix (2.0.4)
[   8] [Active     ] [    2] Apache Felix Metatype Service (1.0.4)
[   9] [Active     ] [    2] Apache Felix Declarative Services (1.4.0)
[  10] [Active     ] [    2] Apache Felix Shell TUI (1.4.1)
[  11] [Active     ] [    2] Apache Felix Shell Service (1.4.2)
[  12] [Active     ] [    2] Apache Felix Web Management Console (3.0.0)
[  13] [Active     ] [    2] OSGi R4 Compendium Bundle (4.1.0)
[  14] [Active     ] [    2] OPS4J Pax Logging - API (1.4)
[  15] [Active     ] [    2] OPS4J Pax Logging - Service (1.4)
[  16] [Active     ] [    2] OPS4J Pax Web - Jetty Bundle (0.7.2)
[  17] [Active     ] [    3] ASM all classes (3.2)
[  18] [Active     ] [    3] JRuby JSR223 Engine (1.0)
[  19] [Active     ] [    3] Clerezza Ext - Jena OSGi Bundle (0.6.0.incubating-SNAPSHOT)
[  20] [Active     ] [    3] Clerezza Ext - ICU4J Bundle (0.5.0.incubating-SNAPSHOT)
[  21] [Active     ] [    3] Clerezza Ext - Javax Mail (0.4.0.incubating-SNAPSHOT)
[  22] [Active     ] [    3] Clerezza Ext - JRuby OSGi Bundle (0.3.0.incubating-SNAPSHOT)
[  23] [Active     ] [    3] Clerezza Ext - Json.simple OSGi Bundle (0.3.0.incubating-SNAPSHOT)
[  24] [Active     ] [    3] Clerezza Ext - Sesame 2 Libraries (0.5.0.incubating-SNAPSHOT)
[  25] [Active     ] [    3] Clerezza - Web GUI Examples (0.2.0.incubating-SNAPSHOT)
[  26] [Active     ] [    3] Clerezza - JAXRS Extensions (0.5.0.incubating-SNAPSHOT)
[  27] [Active     ] [    3] Clerezza - JAX-RS MessageBodyProviders for RDF (0.13.0.incubating-SNAPSHOT)
[  28] [Active     ] [    3] Clerezza - JAX-RS Utilities (0.6.0.incubating-SNAPSHOT)
[  29] [Active     ] [    3] Clerezza - Platform Account Control Panel Core (0.2.0.incubating-SNAPSHOT)
[  30] [Active     ] [    3] Clerezza - Platform Account Contral Panel Ontologies (0.2.0.incubating-SNAPSHOT)
[  31] [Active     ] [    3] Clerezza - Platform Concepts Core (0.1.0.incubating-SNAPSHOT)
[  32] [Active     ] [    3] Clerezza - Platform Concepts Ontologies (0.1.0.incubating-SNAPSHOT)
[  33] [Active     ] [    3] Clerezza - Platform Configuration GUI (0.1.0.incubating-SNAPSHOT)
[  34] [Active     ] [    3] Clerezza - Platform Configuration (0.3.0.incubating-SNAPSHOT)
[  35] [Active     ] [    3] Clerezza - Platform Content Image Metadata (0.1.0.incubating-SNAPSHOT)
[  36] [Active     ] [    3] Clerezza - Platform Content Representations Core (0.1.0.incubating-SNAPSHOT)
[  37] [Active     ] [    3] Clerezza - Platform Content Representations Ontologies (0.1.0.incubating-SNAPSHOT)
[  38] [Active     ] [    3] Clerezza - Platform Content (0.13.0.incubating-SNAPSHOT)
[  39] [Active     ] [    3] Clerezza - Platform Dashboard Core (0.2.0.incubating-SNAPSHOT)
[  40] [Active     ] [    3] Clerezza - Platform Dashboard Ontologies (0.2.0.incubating-SNAPSHOT)
[  41] [Active     ] [    3] Clerezza - Platform Documentation Viewer (0.3.0.incubating-SNAPSHOT)
[  42] [Active     ] [    3] Clerezza - Platform Documentation (0.3.0.incubating-SNAPSHOT)
[  43] [Active     ] [    3] Clerezza - Platform Content-Graph Provider (0.6.0.incubating-SNAPSHOT)
[  44] [Active     ] [    3] Clerezza - Platform Language Core (0.2.0.incubating-SNAPSHOT)
Exception in thread "Felix Shell TUI" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOfRange(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at java.lang.StringBuffer.toString(Unknown Source)
        at org.osgi.service.permissionadmin.PermissionInfo.getEncoded(PermissionInfo.java:254)
        at org.apache.felix.framework.security.util.Permissions$3.run(Permissions.java:542)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.felix.framework.security.util.Permissions.createPermission(Permissions.java:537)
        at org.apache.felix.framework.security.util.Permissions.implies(Permissions.java:433)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.eval(ConditionalPermissionAdminImpl.java:1042)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.hasPermission(ConditionalPermissionAdminImpl.java:975)
        at org.apache.felix.framework.SecurityProviderImpl.hasBundlePermission(SecurityProviderImpl.java:122)
        at org.apache.felix.framework.Felix.impliesBundlePermission(Felix.java:3523)
        at org.apache.felix.framework.BundleProtectionDomain.implies(BundleProtectionDomain.java:67)
        at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:303)
        at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:294)
        at org.apache.felix.shell.impl.PsCommandImpl.printBundleList(PsCommandImpl.java:146)
        at org.apache.felix.shell.impl.PsCommandImpl.execute(PsCommandImpl.java:109)
        at org.apache.felix.shell.impl.Activator$ExecutePrivileged.run(Activator.java:375)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:274)
        at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Timer-0" Exception in thread "Thread-12" java.lang.OutOfMemoryError:
Java heap space

> Clerezza + Apchae Felix 2.0.4  very slow & out of memory
> --------------------------------------------------------
>
>                 Key: CLEREZZA-190
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-190
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: Windows XP 2.6 GHz 3,25 GB RAM
>            Reporter: Oliver Strässer
>            Priority: Blocker
>
> I start the apache clerezza with tho following command
> java -Xmx1000m  -jar "O:\trialox-launcher\org.apache.clerezza.platform.launcher.sesame-0.5-incubating-SNAPSHOT.jar"
-L DEBUG -P 8080
> the startup needs over 4 minutes and the compiling of scala server pages needs very long
too. 
> since startup, where the apache clerezza system needs 150 MB RAM the System / Felix -
whoever - needs 1,2 GB RAM and becomes very very slow. 
> Developing is so not so cool (for example developing ssp's).
> After a while (in my case 1 hour ), i got the following exception.
> The same code works (without a little thing in sparql - wich is the reason why  I need
the newest launcher) in an old version (org.apache.clerezza.platform.launcher.sesame-0.5-incubating-20100407.180339-33.jar)
perfectly.
>  [33234784@qtp-161080-18 - /system/console/res/lib/jquery-1.3.2.js] WARN org.mortbay.jetty
- Error for /system/console/res/lib/jquery-1.3.2.js
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.zip.InflaterInputStream.<init>(Unknown Source)
>         at java.util.zip.ZipFile$1.<init>(Unknown Source)
>         at java.util.zip.ZipFile.getInputStream(Unknown Source)
>         at java.util.zip.ZipFile.getInputStream(Unknown Source)
>         at java.util.jar.JarFile.getInputStream(Unknown Source)
>         at org.apache.felix.framework.cache.JarContent.getEntryAsStream(JarContent.java:179)
>         at org.apache.felix.framework.ModuleImpl.getInputStream(ModuleImpl.java:1127)
>         at org.apache.felix.framework.URLHandlersBundleURLConnection.connect(URLHandlersBundleURLConnection.java:124)
>         at org.apache.felix.framework.URLHandlersBundleURLConnection.getContentType(URLHandlersBundleURLConnection.java:178)
>         at org.ops4j.pax.web.service.jetty.internal.ResourceServlet.doGet(ResourceServlet.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:322)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
> [24089652@qtp-161080-15 - /system/console/res/lib/reset-min.css] WARN org.mortbay.jetty
- /system/console/res/lib/reset-min.css
> java.lang.NullPointerException
>         at java.util.zip.Inflater.ensureOpen(Unknown Source)
>         at java.util.zip.Inflater.getBytesWritten(Unknown Source)
>         at java.util.zip.ZipFile$1.available(Unknown Source)
>         at org.apache.felix.framework.URLHandlersBundleURLConnection.connect(URLHandlersBundleURLConnection.java:125)
>         at org.apache.felix.framework.URLHandlersBundleURLConnection.getContentType(URLHandlersBundleURLConnection.java:178)
>         at org.ops4j.pax.web.service.jetty.internal.ResourceServlet.doGet(ResourceServlet.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:322)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message