Error when publishing - O10 Java

Hello,

Sometimes i have an error while publishing an eSpace, someone know what happens or have seen this problem?


Version 10.0.708.0 , Java


Error:

Deployment Error


Error broadcasting message to Front-end Server xxxxx (10.xxx.xx.216)):java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 

java.rmi.RemoteException: java.lang.OutOfMemoryError: Java heap space; nested exception is: 

java.lang.OutOfMemoryError: Java heap space

   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:389)

   at sun.rmi.transport.Transport$1.run(Transport.java:200)

   at sun.rmi.transport.Transport$1.run(Transport.java:197)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

   at java.lang.Thread.run(Thread.java:748)

   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)

   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)

   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)

   at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)

   at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)

   at com.sun.proxy.$Proxy119.messageTransmission(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.Compiler.sendMessageToFrontEnd(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.Compiler.$lde(Unknown Source)

   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.iIIiiiiIiiii.$gld(Unknown Source)

   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

   at outsystems.hubedition.util.ThreadPool$1.run(Unknown Source)

   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

   at java.util.concurrent.FutureTask.run(FutureTask.java:266)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

   at java.lang.Thread.run(Thread.java:748).


Exception Details:


[1] Deployment Error: Error broadcasting message to Front-end Server xxxxxx (10.xxx.xx.216)):java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 

java.rmi.RemoteException: java.lang.OutOfMemoryError: Java heap space; nested exception is: 

java.lang.OutOfMemoryError: Java heap space

   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:389)

   at sun.rmi.transport.Transport$1.run(Transport.java:200)

   at sun.rmi.transport.Transport$1.run(Transport.java:197)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

   at java.lang.Thread.run(Thread.java:748)

   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)

   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)

   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)

   at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)

   at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)

   at com.sun.proxy.$Proxy119.messageTransmission(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.Compiler.sendMessageToFrontEnd(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.Compiler.$lde(Unknown Source)

   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

   at outsystems.hubedition.deploymentcontroller.iIIiiiiIiiii.$gld(Unknown Source)

   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

   at outsystems.hubedition.util.ThreadPool$1.run(Unknown Source)

   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

   at java.util.concurrent.FutureTask.run(FutureTask.java:266)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

   at java.lang.Thread.run(Thread.java:748).


   at outsystems.runtimecommon.HEMessageException.<init>(Unknown Source)


   at outsystems.hubedition.deploymentcontroller.Compiler.sendMessageToFrontEnd(Unknown Source)


   at outsystems.hubedition.deploymentcontroller.Compiler.$lde(Unknown Source)


   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)


   at outsystems.hubedition.deploymentcontroller.iIIiiiiIiiii.$gld(Unknown Source)


   at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)


   at outsystems.hubedition.util.ThreadPool$1.run(Unknown Source)


   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)


   at java.util.concurrent.FutureTask.run(FutureTask.java:266)


   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)


   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)


   at java.lang.Thread.run(Thread.java:748)


[2] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 

java.rmi.RemoteException: java.lang.OutOfMemoryError: Java heap space; nested exception is: 

java.lang.OutOfMemoryError: Java heap space

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:389)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)

at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)

at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)

at com.sun.proxy.$Proxy119.messageTransmission(Unknown Source)

at outsystems.hubedition.deploymentcontroller.Compiler.sendMessageToFrontEnd(Unknown Source)

at outsystems.hubedition.deploymentcontroller.Compiler.$lde(Unknown Source)

at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

at outsystems.hubedition.deploymentcontroller.iIIiiiiIiiii.$gld(Unknown Source)

at outsystems.hubedition.util.WaitCallback_Lambda.execute(Unknown Source)

at outsystems.hubedition.util.ThreadPool$1.run(Unknown Source)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.rmi.RemoteException: java.lang.OutOfMemoryError: Java heap space; nested exception is: 

java.lang.OutOfMemoryError: Java heap space

at outsystems.hubedition.deployservice.Deploy.messageTransmission(Unknown Source)

at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

... 3 more

Caused by: java.lang.OutOfMemoryError: Java heap space

[3] java.rmi.RemoteException: java.lang.OutOfMemoryError: Java heap space; nested exception is: 

java.lang.OutOfMemoryError: Java heap space

at outsystems.hubedition.deployservice.Deploy.messageTransmission(Unknown Source)

at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.OutOfMemoryError: Java heap space

[4] java.lang.OutOfMemoryError: Java heap space




Hi, 

For the errors, maybe you need to increase heap space. Maybe this links can help you:

https://docs.oracle.com/cd/E19563-01/819-4438/gavou/index.html 

https://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html 


Best regards,

Ricardo M Pereira

Hi,

can you try restarting the OutSystems services in that front-end should fix your problem. 

Cheers

Thanks for the answers guys, I will analyze the cases.