I have MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=256m I'm not sure what other controls there are.
Kelvin. On Mon, Jun 7, 2010 at 12:49 PM, Simon Laws <[email protected]> wrote: > On Mon, Jun 7, 2010 at 12:38 PM, kelvin goodson <[email protected]> > wrote: >> Has anyone else seen this before I go digging? >> >> I have bumped the maven-compile-plugin's source and target level to >> 1.6 locally, so it may be something to do with that. >> >> Kelvin. >> >> Running client_javacaa.JCA_2007_TestCase >> Implementation language set to: _POJO >> 07-Jun-2010 12:25:37 org.apache.tuscany.sca.node.impl.NodeImpl start >> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 >> domain: default >> 07-Jun-2010 12:25:37 org.apache.tuscany.sca.node.impl.NodeFactoryImpl >> loadContributions >> INFO: Loading contribution: >> file:/C:/Dev7/SCA/compliance-tests/java-caa/target/oasis-contributions/JCA_General_POJO.jar >> 07-Jun-2010 12:25:37 >> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl >> addEndpoint >> INFO: Add endpoint - (@541121)Endpoint: URI = >> TestClient/TestClient_0002TestClient#service-binding(TestInvocation/TestInvocation) >> Binding.ws JAXWS provider - Service URI: >> http://localhost:8080/TestClient/TestInvocation >> 07-Jun-2010 12:25:37 >> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl >> addEndpoint >> INFO: Add endpoint - (@32765695)Endpoint: URI = >> TestClient#service-binding(TestInvocation/TestInvocation) >> 07-Jun-2010 12:25:37 >> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl >> addEndpoint >> INFO: Add endpoint - (@917217)Endpoint: URI = >> TEST_JCA_2007ClientComponent1#service-binding(Service1/Service1) >> 07-Jun-2010 12:25:37 >> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl >> addEndpoint >> INFO: Add endpoint - (@14198549)Endpoint: URI = >> TEST_JCA_2007CompositeComponent2#service-binding(ParallelService/ParallelService) >> parallel execution with invocation count = 2000 maxWaitTime = 5000 >> java.lang.OutOfMemoryError: unable to create new native thread >> at java.lang.Thread.start0(Native Method) >> at java.lang.Thread.start(Thread.java:597) >> at >> java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703) >> at >> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652) >> at >> org.oasisopen.sca.test.parallelCompositeClientImpl.executeTasks(parallelCompositeClientImpl.java:82) >> at >> org.oasisopen.sca.test.parallelCompositeClientImpl.operation1(parallelCompositeClientImpl.java:58) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:113) >> at >> org.apache.tuscany.sca.binding.sca.provider.SCABindingInvoker.invoke(SCABindingInvoker.java:75) >> at >> org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:253) >> at >> org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:109) >> at $Proxy222.operation1(Unknown Source) >> at >> org.oasisopen.sca.test.ASM_0002_Client.runTest(ASM_0002_Client.java:57) >> at >> org.oasisopen.sca.test.ASM_0002_Client.invokeTest(ASM_0002_Client.java:40) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:113) >> at >> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:66) >> at >> org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:91) >> at >> org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:74) >> at >> org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl.invoke(RuntimeEndpointImpl.java:229) >> at >> org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:155) >> at >> org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:54) >> at >> com.sun.xml.internal.ws.api.server.InstanceResolver$1.invokeProvider(InstanceResolver.java:215) >> at >> com.sun.xml.internal.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:142) >> at >> com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:64) >> at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:581) >> at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540) >> at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:525) >> at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:422) >> at >> com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:226) >> at >> com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:375) >> at >> com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175) >> at >> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:100) >> at >> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:77) >> at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65) >> at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65) >> at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68) >> at >> sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:552) >> at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65) >> at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:524) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) >> at java.lang.Thread.run(Thread.java:619) >> Exception in thread "Thread-33" java.lang.OutOfMemoryError: unable to >> create new native thread >> at java.lang.Thread.start0(Native Method) >> at java.lang.Thread.start(Thread.java:597) >> at >> java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703) >> at >> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652) >> at >> sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:349) >> at sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:321) >> at java.lang.Thread.run(Thread.java:619) >> > > Nope, not seen that Kelvin. I fixed a few memory leaks a while back > but doesn't mean there aren't still some there. What have you got the > various memory configurations set to currently. > > Simon > > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >
