This seems to be the real issue:
SEVERE: Mapped exception to response: 503 (Service Unavailable)
javax.ws.rs.WebApplicationException: java.io.IOException:
java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory
If you're using a Sun JVM, you can change that by using the option
-XX:MaxDirectMemorySize=<size>. By default, the size is 64M.
Best regards,
- Andy
--- On Fri, 10/8/10, Jack Levin <[email protected]> wrote:
> From: Jack Levin <[email protected]>
> Subject: jstack of rest server thats toast.
> To: [email protected]
> Date: Friday, October 8, 2010, 12:43 PM
> jstack http://pastebin.com/juF2JX0S and errors: http://pastebin.com/jiT3NeU1
>
> After moderate load, rest server dies, any ideas why?
>
> -Jack
>