[fractal-rmi] java.lang.OutOfMemory when trying to access the fractal-rmi registry URL
The problem can be reproduced using the fractal-rmi helloworld example.
- Launch the registry: mvn -Prun.registry
fermion% mvn -Prun.registry [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Fractal RMI HelloWorld example [INFO] task-segment: [compile] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [exec:exec {execution: default}] [INFO] Fractal registry is ready.
-
Open a web browser, and type the following URL: http://localhost:1234/ (which is the default URL for the fractal-rmi registry with the default port)
-
see in the registry console the following error: [INFO] Exception in thread "p0.1" java.lang.OutOfMemoryError: Java heap space [INFO] at org.objectweb.fractal.rmi.RmiProtocol$ServerSession_Low.send(RmiProtocol.java:494) [INFO] at org.objectweb.jonathan.libs.protocols.tcpip.TcpIpProtocol$Session.run(TcpIpProtocol.java:453) [INFO] at org.objectweb.jonathan.libs.resources.JScheduler$JJob.run(JScheduler.java:245)
This happens without registering any component in the registry (so, it's an empty registry).
Can any one comment on this ?