i am playing around with the ECF remoteservices
i have built a simple stress testing that invoke hello service 8000 times
i have received this error:
An internal error has occurred.
unable to create new native threadorg.eclipse.ecf.examples.remoteservices.hello.consumer.rsorg.eclipse.ecf.examples.remoteservices.hello.host.rs
// 6. Finally...call the proxy
long start, end, total;
start = System.currentTimeMillis();
long count = 8000;
for (int i = 0; i<count;i++)
response = proxy.sayHello("RemoteService Consumer");
end = System.currentTimeMillis();
total = end - start;
long avg = total/count;
System.out.println("total=["+total+"][avg=" +(avg) +"]"+ response);
does the server uses thread pooling?
if i try to guess what happen is that every invocation spawn new thread until the system is out of resources?